diff Python/import.c @ 73324:60ede940089f

Merge follow-up for #11254 and other changes from 3.2
author Éric Araujo <merwok@netwok.org>
date Thu, 03 Nov 2011 05:17:11 +0100
parents 740baff4f169 425591f6c2a5
children a9f10c3eff69
line wrap: on
line diff
--- a/Python/import.c	Thu Nov 03 05:08:28 2011 +0100
+++ b/Python/import.c	Thu Nov 03 05:17:11 2011 +0100
@@ -3908,7 +3908,8 @@
 }
 
 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 @@
 }
 
 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\