commit
b63b7f6da1
@ -84,7 +84,7 @@ class Stock(Structure):
|
|||||||
Stock.create_init()
|
Stock.create_init()
|
||||||
```
|
```
|
||||||
|
|
||||||
The resulting class should work exactly the name way as before:
|
The resulting class should work exactly the same way as before:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
>>> s = Stock(name='GOOG', shares=100, price=490.1)
|
>>> s = Stock(name='GOOG', shares=100, price=490.1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user