summaryrefslogtreecommitdiff
path: root/Technology
diff options
context:
space:
mode:
authornic <ra@afu.re>2024-11-05 13:33:28 -0500
committernic <ra@afu.re>2024-11-05 13:33:28 -0500
commitf8379643035e0c8f3158c37e11743a968c4fac9e (patch)
tree22840694b1096bb59efafd451c03007cf986b77d /Technology
parent2443327a1cd073cdee432d5774a6db634f9295f3 (diff)
Auto from nzxt - Tue 05 Nov 2024 01:33:28 PM EST
Diffstat (limited to 'Technology')
-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.