Browse Source

Readme

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

6
README.md

@ -476,7 +476,7 @@ lock.release()
Itertools Itertools
--------- ---------
#### Every function returns a generator and can accept any collection. If you want to print an output of generator, as in examples, you need to pass it to `list()` function.
#### Every function returns a generator and can accept any collection. If you want to print an output of generator, as in examples, you need to pass it to the list() function.
```python ```python
from itertools import * from itertools import *
@ -615,7 +615,9 @@ class MyMetaClass(type):
``` ```
### Metaclass Attr ### Metaclass Attr
#### When class is created it checks if it has metaclass defined. If not, it recursively checks if any of his parents has it defined, and eventually comes to type:
#### When class is created it checks if it has metaclass defined. If not, it
#### recursively checks if any of his parents has it defined, and eventually
#### comes to type:
```python ```python
class BlaBla: class BlaBla:
__metaclass__ = Bla __metaclass__ = Bla

Loading…
Cancel
Save