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

Skip to content

Commit dbdcf27

Browse files
authored
Merge pull request dabeaz-course#80 from altvec/fix/chapter4.3
Fix missing new line
2 parents 3ff2900 + b6a9aea commit dbdcf27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Notes/04_Classes_objects/03_Special_methods.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ A method that has not yet been invoked by the function call operator `()` is kno
147147
It operates on the instance where it originated.
148148

149149
```python
150-
>>> s = Stock('GOOG', 100, 490.10) >>> s
150+
>>> s = Stock('GOOG', 100, 490.10)
151+
>>> s
151152
<Stock object at 0x590d0>
152153
>>> c = s.cost
153154
>>> c

0 commit comments

Comments
 (0)