File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ involving dictionaries. This section discusses that.
77
88### Dictionaries, Revisited
99
10- Remember that a dictionary is a collection of names values.
10+ Remember that a dictionary is a collection of named values.
1111
1212``` python
1313stock = {
@@ -58,7 +58,7 @@ A dictionary holds the instance data, `__dict__`.
5858``` python
5959>> > s = Stock(' GOOG' , 100 , 490.1 )
6060>> > s.__dict__
61- {' name' : ' GOOG' ,' shares' : 100 , ' price' : 490.1 }
61+ {' name' : ' GOOG' , ' shares' : 100 , ' price' : 490.1 }
6262```
6363
6464You populate this dict (and instance) when assigning to ` self ` .
@@ -271,7 +271,7 @@ e = E()
271271e.attr
272272```
273273
274- A attribute search process is carried out, but what is the order? That's a problem.
274+ An attribute search process is carried out, but what is the order? That's a problem.
275275
276276Python uses * cooperative multiple inheritance* which obeys some rules
277277about class ordering.
You can’t perform that action at this time.
0 commit comments