summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-11-03 04:17:11 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-11-03 04:17:11 (GMT)
commite64052176d998a0f1397fc5fa60875e2f0371296 (patch)
tree24bef62ead0b04345cc7e83c6c0e438ef0929c20 /Python/import.c
parent880801501b778d93079afc11672dba86e60eab94 (diff)
parentc465b2f843218565c2908528555fbdb7c95523c0 (diff)
downloadcpython-e64052176d998a0f1397fc5fa60875e2f0371296.zip
cpython-e64052176d998a0f1397fc5fa60875e2f0371296.tar.gz
cpython-e64052176d998a0f1397fc5fa60875e2f0371296.tar.bz2
Merge follow-up for #11254 and other changes from 3.2
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index 701041b..5c33b6b 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -3908,7 +3908,8 @@ imp_cache_from_source(PyObject *self, PyObject *args, PyObject *kws)
}
PyDoc_STRVAR(doc_cache_from_source,
-"Given the path to a .py file, return the path to its .pyc/.pyo file.\n\
+"cache_from_source(path, [debug_override]) -> path\n\
+Given the path to a .py file, return the path to its .pyc/.pyo file.\n\
\n\
The .py file does not need to exist; this simply returns the path to the\n\
.pyc/.pyo file calculated as if the .py file were imported. The extension\n\
@@ -3940,7 +3941,8 @@ imp_source_from_cache(PyObject *self, PyObject *args, PyObject *kws)
}
PyDoc_STRVAR(doc_source_from_cache,
-"Given the path to a .pyc./.pyo file, return the path to its .py file.\n\
+"source_from_cache(path) -> path\n\
+Given the path to a .pyc./.pyo file, return the path to its .py file.\n\
\n\
The .pyc/.pyo file does not need to exist; this simply returns the path to\n\
the .py file calculated to correspond to the .pyc/.pyo file. If path\n\