Fix typo in PEP 3147.

This commit is contained in:
Florent Xicluna 2010-08-09 09:46:08 +00:00
parent 138a86a0fd
commit 7fda990b31
1 changed files with 2 additions and 2 deletions

View File

@ -426,8 +426,8 @@ This code will obviously fail once this PEP is implemented.
To support this use case, we'll add two new methods to the `imp`
package [17]_:
* `imp.source_from_cache(py_path)` -> `pyc_path`
* `imp.cache_from_source(pyc_path)` -> `py_path`
* `imp.cache_from_source(py_path)` -> `pyc_path`
* `imp.source_from_cache(pyc_path)` -> `py_path`
Alternative implementations are free to override these functions to
return reasonable values based on their own support for this PEP.