summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Technology/Python.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/Technology/Python.md b/Technology/Python.md
index 2979edb..265abf3 100644
--- a/Technology/Python.md
+++ b/Technology/Python.md
@@ -23,6 +23,9 @@ with no arg show you all name in global namespace
dir() == sorted(globals().keys())
+local namespace
+gloabls() == locals()
+
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.