Add Python Order Of Module Import for Python 3

This commit is contained in:
DaKnOb 2015-10-09 13:43:57 +03:00
parent 13807790e4
commit 879337f9be

View File

@ -591,6 +591,11 @@ math.sqrt(16) == m.sqrt(16) # => True
import math import math
dir(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 ## 7. Advanced