We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09e8053 + 6ab718a commit 0df57adCopy full SHA for 0df57ad
1 file changed
examples/07_functions/func_introspection.py
@@ -1,3 +1,8 @@
1
+# Inspect function attributes
2
+# --------------------------------------------------------------------------------
3
+# Explore attributes such as __name__, __doc__, __code__, etc., to see
4
+# where Python stores metadata for functions.
5
+
6
def foo(a, b=10, c=20, *args, **kwargs):
7
"""This is 'foo' function that does nothing."""
8
0 commit comments