Skip to content

Commit 79ad36b

Browse files
committed
updates
1 parent a38be68 commit 79ad36b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

abstract_factory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To begin with, in simple terms, think if it as a Factory that can return Factori
88

99
## Terminology
1010

11-
* **Client**: The client application that calls the **Abstract Factory** and **Abstract Product** classes. It's the same process as the concrete creator in the [Factory](factory.md#terminology) design pattern.
11+
* **Client**: The client application that calls the **Abstract Factory** and **Abstract Product** classes. It's the same process as the concrete creator in the [Factory](factory#terminology) design pattern.
1212

1313
* **Abstract Factory**: An interface to one of the Factories.
1414

factory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ and it will still work.
101101

102102
While it is possible to ensure your classes are correct without using abstract classes, it is often easier to use abstract classes as a backup method of checking correctness, especially if your projects become very large and involve many developers.
103103

104-
Note that in all my code examples, the abstract classes are prefixed with a capital **I**, to indicate that they are abstract interfaces. They have no code in their methods. They do not require a `self` or `cls` argument due to the use of `@staticmethod` . The inheriting class will implement the code in each of the methods that the abstract class is describing. If subclasses are inheriting an abstract base class, and they do not implement the methods as described, there will be [Pylint error or warning message (E0110)](coding-conventions.md#common-pylint-warning-and-error-messages).
104+
Note that in all my code examples, the abstract classes are prefixed with a capital **I**, to indicate that they are abstract interfaces. They have no code in their methods. They do not require a `self` or `cls` argument due to the use of `@staticmethod` . The inheriting class will implement the code in each of the methods that the abstract class is describing. If subclasses are inheriting an abstract base class, and they do not implement the methods as described, there will be [Pylint error or warning message (E0110)](/coding-conventions.md#common-pylint-warning-and-error-messages).
105105

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

mediator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ So, using the `_` prevents this warning.
9797
* A mediator replaces a structure with many-to-many interactions between its classes and processes, with a one-to-many centralized structure where the interface supports all of the methods of the many-to-many structure, but via the mediator component instead.
9898
* The mediator pattern encourages usage of shared objects that can now be centrally managed and synchronized.
9999
* The mediator pattern creates an abstraction between two or more components which then makes a system easier to understand and manage.
100-
* The mediator pattern is similar to the [Facade](facade/README.md) pattern, except the Mediator is expected to transact data both ways between two or more other classes or processes that would normally interact directly with each other.
100+
* The mediator pattern is similar to the [Facade](facade) pattern, except the Mediator is expected to transact data both ways between two or more other classes or processes that would normally interact directly with each other.
101101

0 commit comments

Comments
 (0)