diff options
| -rw-r--r-- | Technology/Python.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Technology/Python.md b/Technology/Python.md index 0024e34..2979edb 100644 --- a/Technology/Python.md +++ b/Technology/Python.md @@ -20,6 +20,9 @@ x.upper() - method dir() - built it give directory of an object (all methods available) with no arg show you all name in global namespace + +dir() == sorted(globals().keys()) + super() - goes trought inheritance chain and return the class that is after the one passed as the function first argument. Can by used to bypass modification made by earlier classes. |
