summaryrefslogtreecommitdiffhomepage
path: root/python.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'python.html.markdown')
-rw-r--r--python.html.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/python.html.markdown b/python.html.markdown
index 59a0b85c..ff77fac6 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -461,6 +461,11 @@ math.sqrt(16) == m.sqrt(16) #=> True
# can write your own, and import them. The name of the
# module is the same as the name of the file.
+# You can find out which functions and attributes
+# defines a module.
+import math
+dir(math)
+
```