summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-09-26 04:25:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-09-26 04:25:10 (GMT)
commit52c62d8697f96b774c3582a23cb7e7a05e9b8aa7 (patch)
tree8eb80efa59b030088be2322c91959c9481599e3b /Lib/importlib
parent8286951f57ad596f248bc9ec765884e1536a87ee (diff)
downloadcpython-52c62d8697f96b774c3582a23cb7e7a05e9b8aa7.zip
cpython-52c62d8697f96b774c3582a23cb7e7a05e9b8aa7.tar.gz
cpython-52c62d8697f96b774c3582a23cb7e7a05e9b8aa7.tar.bz2
rephrase
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/_bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index 5c4d2c6..224b4dc 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -419,8 +419,8 @@ def cache_from_source(path, debug_override=None):
.pyc/.pyo file calculated as if the .py file were imported. The extension
will be .pyc unless sys.flags.optimize is non-zero, then it will be .pyo.
- If debug_override is not None, then it must be a boolean and is taken as
- the value of bool(sys.flags.optimize) instead.
+ If debug_override is not None, then it must be a boolean and is used in
+ place of sys.flags.optimize.
If sys.implementation.cache_tag is None then NotImplementedError is raised.