Skip to content

Commit 152aa64

Browse files
committed
updates
1 parent 73f25ed commit 152aa64

File tree

23 files changed

+89
-0
lines changed

23 files changed

+89
-0
lines changed

abstract_factory/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,6 @@ You can add exception handling for as many types of errors as you wish.
127127

128128
Python Errors and Exceptions : [https://docs.python.org/3/tutorial/errors.html](https://docs.python.org/3/tutorial/errors.html)
129129

130+
## Summary
131+
132+
*...Refer to Book or Videos for extra content.*

adapter/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,7 @@ I also use the `time` module to sleep for a second between loops to simulate a 1
170170
```
171171

172172
When executing [/adapter/cube_a.py](/adapter/cube_a.py) you will notice that the process will run for about 10 seconds outputting the gradual progress of the construction of each cube.
173+
174+
## Summary
175+
176+
*...Refer to Book or Videos for extra content.*

bridge/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,7 @@ PS> python
166166
>>> print(len(items))
167167
4
168168
```
169+
170+
## Summary
171+
172+
*...Refer to Book or Videos for extra content.*

builder/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,7 @@ if furniture in ['SmallChair', 'MediumChair', 'BigChair']:
128128
```
129129

130130
This line, creates a list at runtime including the strings 'SmallChair', 'MediumChair' and 'BigChair'. If the value in `furniture` equals the same string as one of those items in the list, then the condition is true and the code within the if statement block will execute.
131+
132+
## Summary
133+
134+
*...Refer to Book or Videos for extra content.*

chain_of_responsibility/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,7 @@ if AMOUNT < 10 or AMOUNT % 10 != 0:
122122
Note that in Python 2.x, use the `raw_input()` command instead of `input()` .
123123

124124
See PEP-3111 : [https://www.python.org/dev/peps/pep-3111/](https://www.python.org/dev/peps/pep-3111/)
125+
126+
## Summary
127+
128+
*...Refer to Book or Videos for extra content.*

command/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,7 @@ Private, in C style languages, means that the variable/field/property is hidden
112112
Python does not have a public/private accessor concept so the variable is not actually private and can still be used outside of the class in other modules.
113113

114114
It is just a useful construct that you will see developers use as a recommendation not to reference this variable directly outside of this class, but use a dedicated method or property instead.
115+
116+
## Summary
117+
118+
*...Refer to Book or Videos for extra content.*

composite/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,7 @@ print(ALERTING)
147147
```
148148

149149
Visit [https://docs.python.org/3/reference/expressions.html#conditional-expressions](https://docs.python.org/3/reference/expressions.html#conditional-expressions) for more examples of conditional expressions.
150+
151+
## Summary
152+
153+
*...Refer to Book or Videos for extra content.*

decorator/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,7 @@ In all the classes in the above use case example that implement the `IValue` int
148148
```
149149

150150
The `__str__` dunder was also overridden in the [/prototype/prototype_concept.py](/prototype/prototype_concept.py) concept code.
151+
152+
## Summary
153+
154+
*...Refer to Book or Videos for extra content.*

facade/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,7 @@ facade/game_engine.py:45: error: Argument 1 to "append" of "list" has incompatib
173173
facade/game_api.py:34: error: Argument 2 to "submit_entry" of "GameEngine" has incompatible type "Decimal"; expected "int"
174174
Found 2 errors in 2 files (checked 1 source file)
175175
```
176+
177+
## Summary
178+
179+
*...Refer to Book or Videos for extra content.*

factory/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,6 @@ Note that in all my code examples, the abstract classes are prefixed with a capi
119119

120120
See PEP 3119 : [https://www.python.org/dev/peps/pep-3119/](https://www.python.org/dev/peps/pep-3119/)
121121

122+
## Summary
123+
124+
*...Refer to Book or Videos for extra content.*

0 commit comments

Comments
 (0)