Browse Source

Metaprogramming

pull/3/head
Jure Šorn 6 years ago
parent
commit
d329b09f17
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -653,7 +653,7 @@ type(class_name, parents<tuple>, attributes<dict>)
```
```python
>>> BB = type('B', (), {'a': 'sdfsd', 'b': 123324}
>>> BB = type('B', (), {'a': 'abcde', 'b': 12345}
>>> b = BB()
```

Loading…
Cancel
Save