You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[proxy](patterns/structural/proxy.py)| an object funnels operations to something else |
@@ -37,7 +37,7 @@ __Behavioral Patterns__:
37
37
38
38
| Pattern | Description |
39
39
|:-------:| ----------- |
40
-
|[chain_of_responsibility](patterns/behavioral/chain_of_responsibility__py3.py)| apply a chain of successive handlers to try and process the data |
40
+
|[chain_of_responsibility](patterns/behavioral/chain_of_responsibility.py)| apply a chain of successive handlers to try and process the data |
41
41
|[catalog](patterns/behavioral/catalog.py)| general methods will call different specialized methods based on construction parameter |
42
42
|[chaining_method](patterns/behavioral/chaining_method.py)| continue callback next object method |
43
43
|[command](patterns/behavioral/command.py)| bundle a command and arguments to call later |
@@ -46,7 +46,7 @@ __Behavioral Patterns__:
46
46
|[memento](patterns/behavioral/memento.py)| generate an opaque token that can be used to go back to a previous state |
47
47
|[observer](patterns/behavioral/observer.py)| provide a callback for notification of events/changes to data |
48
48
|[publish_subscribe](patterns/behavioral/publish_subscribe.py)| a source syndicates events/data to 0+ registered listeners |
49
-
|[registry](patterns/behavioral/registry__py3.py)| keep track of all subclasses of a given class |
49
+
|[registry](patterns/behavioral/registry.py)| keep track of all subclasses of a given class |
50
50
|[specification](patterns/behavioral/specification.py)| business rules can be recombined by chaining the business rules together using boolean logic |
51
51
|[state](patterns/behavioral/state.py)| logic is organized into a discrete number of potential states and the next state that can be transitioned to |
52
52
|[strategy](patterns/behavioral/strategy.py)| selectable operations over the same data |
@@ -69,7 +69,7 @@ __Others__:
69
69
70
70
| Pattern | Description |
71
71
|:-------:| ----------- |
72
-
|[blackboard](patterns/other/blackboard__py3.py)| architectural model, assemble different sub-system knowledge to build a solution, AI approach - non gang of four pattern |
72
+
|[blackboard](patterns/other/blackboard.py)| architectural model, assemble different sub-system knowledge to build a solution, AI approach - non gang of four pattern |
73
73
|[graph_search](patterns/other/graph_search.py)| graphing algorithms - non gang of four pattern |
74
74
|[hsm](patterns/other/hsm/hsm.py)| hierarchical state machine - non gang of four pattern |
75
75
@@ -107,7 +107,7 @@ In some cases class-level docstring with doctest would also help (see [adapter.p
107
107
but readable OUTPUT section is much better.
108
108
109
109
110
-
##### Python2 compatibility
110
+
##### Python 2 compatibility
111
111
To see Python 2 compatible versions of some patterns please check-out the [legacy](https://github.com/faif/python-patterns/tree/legacy) tag.
0 commit comments