diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:12:28 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-02-22 23:12:28 (GMT) |
commit | 9b99b448f79fcb004e1c45b47fd6fe869635f445 (patch) | |
tree | 6f3cd5627cac6854221842ceae03595763e66c6f /Python | |
parent | cfbcdbbbf2020e6719b368ef5701d2c90b938c4f (diff) | |
download | cpython-9b99b448f79fcb004e1c45b47fd6fe869635f445.zip cpython-9b99b448f79fcb004e1c45b47fd6fe869635f445.tar.gz cpython-9b99b448f79fcb004e1c45b47fd6fe869635f445.tar.bz2 |
Issue #3080: Mark PyWin_FindRegisteredModule() as private
This function was not declared in Python public API (in any .h file) and not
documented. Mark it as private to prepare a change of its API.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/import.c b/Python/import.c index 23752ee..f4015b5 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1547,8 +1547,8 @@ PyImport_GetImporter(PyObject *path) { pathname and an open file. Return NULL if the module is not found. */ #ifdef MS_COREDLL -extern FILE *PyWin_FindRegisteredModule(const char *, struct filedescr **, - char *, Py_ssize_t); +extern FILE *_PyWin_FindRegisteredModule(const char *, struct filedescr **, + char *, Py_ssize_t); #endif static int case_ok(char *, Py_ssize_t, Py_ssize_t, char *); @@ -1631,7 +1631,7 @@ find_module(char *fullname, char *subname, PyObject *path, char *buf, return &fd_builtin; } #ifdef MS_COREDLL - fp = PyWin_FindRegisteredModule(name, &fdp, buf, buflen); + fp = _PyWin_FindRegisteredModule(name, &fdp, buf, buflen); if (fp != NULL) { *p_fp = fp; return fdp; |