summaryrefslogtreecommitdiff
path: root/Technology/Python.md
diff options
context:
space:
mode:
Diffstat (limited to 'Technology/Python.md')
-rw-r--r--Technology/Python.md3
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.