Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5df1108d
Commit
5df1108d
authored
Nov 03, 2011
by
Éric Araujo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add signatures to the docstring of functions added to imp by PEP 3147
parent
3bb1a6f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Python/import.c
Python/import.c
+4
-2
No files found.
Python/import.c
View file @
5df1108d
...
...
@@ -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
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment