Browse Source

Attributes example

pull/7/head
Jure Šorn 6 years ago
parent
commit
feaa49b07d
1 changed files with 4 additions and 4 deletions
  1. 8
      README.md

8
README.md

@ -981,8 +981,8 @@ Introspection and Metaprograming
```python
>>> class Z:
... def __init__(self):
... self.a = 'abcde'
... self.b = 12345
... self.a = 'abcde'
... self.b = 12345
>>> z = Z()
```
@ -1414,7 +1414,7 @@ Basic Script Template
```python
#!/usr/bin/env python3
#
# Usage: .py
# Usage: .py
#
from collections import namedtuple
@ -1425,7 +1425,7 @@ import sys
def main():
pass
###
## UTIL

Loading…
Cancel
Save