diff options
author | Éric Araujo <merwok@netwok.org> | 2011-11-03 16:44:13 +0100 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-11-03 16:44:13 +0100 |
commit | 146f870916539eb2e7b9273eb8ff978bc55ec961 (patch) | |
tree | fe68304b52d99f6848752b2ae0a1f1d76928b995 /Python | |
parent | ef297a8a35efc57aa20045faf758d224b35c4634 (diff) | |
parent | 7855a1abec947dfb05fbb79393d972af02403bab (diff) | |
download | cpython-git-146f870916539eb2e7b9273eb8ff978bc55ec961.tar.gz |
Branch merge
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c index 701041b2f2..5c33b6be57 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\ |