summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
diff options
context:
space:
mode:
authorShawn Zhang <shawnzhang009@gmail.com>2016-03-15 11:42:20 +0800
committerShawn Zhang <shawnzhang009@gmail.com>2016-03-15 11:42:20 +0800
commitb38a7645366b1580b5f554303e411447c7d2d09d (patch)
treecfe5c9e59fa1f3611a5b5545f9b2d74cbac461f2 /python3.html.markdown
parent072424afd77b9d772102f83508fcc337ffc81a7d (diff)
parentfbe11b52d5fe839f791935012b93ff8ef2ac91f6 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'python3.html.markdown')
-rw-r--r--python3.html.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index d88ccec1..ea29fdba 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -716,6 +716,11 @@ math.sqrt(16) == m.sqrt(16) # => True
import math
dir(math)
+# If you have a Python script named math.py in the same
+# folder as your current script, the file math.py will
+# be loaded instead of the built-in Python module.
+# This happens because the local folder has priority
+# over Python's built-in libraries.
####################################################
## 7. Advanced