diff options
author | Éric Araujo <merwok@netwok.org> | 2011-11-03 15:27:57 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-11-03 15:27:57 (GMT) |
commit | 9c2f42f253d37496d52178377ab5e88f2e231401 (patch) | |
tree | 87ed0037e4dd774c762495f6334cb1af75649c4e /Python/import.c | |
parent | cb2f84a21802a9e1776860b375745706fc570060 (diff) | |
parent | a083823a85b102643a68bc50ca6c78c60e244cd2 (diff) | |
download | cpython-9c2f42f253d37496d52178377ab5e88f2e231401.zip cpython-9c2f42f253d37496d52178377ab5e88f2e231401.tar.gz cpython-9c2f42f253d37496d52178377ab5e88f2e231401.tar.bz2 |
Branch merge
Diffstat (limited to 'Python/import.c')
-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 1dbe544..e721498 100644 --- a/Python/import.c +++ b/Python/import.c @@ -3534,7 +3534,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\ @@ -3569,7 +3570,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\ |