Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c75a7d3

Browse files
Mark Singleton as done in TODO
1 parent 263a1b3 commit c75a7d3

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

todo.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ x Abstract Factory
1111
x Builder
1212
x Factory Method
1313
X Prototype
14-
Singleton
14+
x Singleton
1515
X Prebound Methods
1616
X Sentinel Object
1717
X Module Globals
@@ -65,8 +65,6 @@ Fathers of OOP had in mind. We want to create objects that describe what
6565
they are, and then bind behavior to them, rather than focus on what they
6666
do, and then figure out what data they'll need to do that."
6767

68-
69-
7068
Why bottom out? Python strings are made of — strings!
7169

7270
in Go I keep making error
@@ -89,29 +87,21 @@ smaller piece of string? it’s a string too!
8987
>>> type(s[4])
9088
<class 'str'>
9189

92-
9390
What should be at top of file; what order functions should go in.
9491

95-
9692
Mention modules that prevent import * from subordinate modules
9793
so the main package is where you import * its classes instead?
9894
Probably import * just isn’t important enough today to mention:
9995
# multiprocessing/context.py
10096
__all__ = ()
10197

102-
10398
Mention this someday?
10499
/home/brandon/cpython/Lib/_collections_abc.py
105100
27:__name__ = "collections.abc"
106101

107-
108102
Discuss the happy fact that Python lacks any concept of a ``protected``
109103
or ``private`` method.
110104

111-
“>>>”
112-
chapters 8,9,10 move earlier, between 4/5
113-
closure vs class with __call__.
114-
115105
PEP-8 says “if not somelist”
116106
Walrus; comprehensions
117107
star unpacking

0 commit comments

Comments
 (0)