Skip to content

Commit 1af2089

Browse files
authored
Merge pull request #312 from gyermolenko/remove_runner_script
Remove script runner and hints at the top
2 parents 61d7810 + 506ab8b commit 1af2089

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+0
-131
lines changed

patterns/behavioral/catalog.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
A class that uses different static function depending of a parameter passed in
53
init. Note the use of a single dictionary instead of multiple conditions

patterns/behavioral/chain_of_responsibility.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
*What is this pattern about?
53

patterns/behavioral/chaining_method.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env python
2-
3-
41
class Person:
52
def __init__(self, name, action):
63
self.name = name

patterns/behavioral/command.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
*TL;DR
53
Encapsulates all information needed to perform an action or trigger an event.

patterns/behavioral/iterator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
http://ginstrom.com/scribbles/2007/10/08/design-patterns-python-style/
53
Implementation of the iterator pattern with a generator

patterns/behavioral/mediator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
https://www.djangospin.com/design-patterns-python/mediator/
53

patterns/behavioral/memento.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
http://code.activestate.com/recipes/413838-memento-closure/
53

patterns/behavioral/observer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
http://code.activestate.com/recipes/131499-observer-pattern/
53

patterns/behavioral/publish_subscribe.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
31
"""
42
Reference:
53
http://www.slideshare.net/ishraqabd/publish-subscribe-model-overview-13368808

patterns/behavioral/registry.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env python
2-
3-
41
class RegistryHolder(type):
52

63
REGISTRY = {}

0 commit comments

Comments
 (0)