diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-20 12:16:46 +0200 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-20 12:16:46 +0200 |
| commit | 460bd0d284caa00eb8ccc9a28836ba30765a19cb (patch) | |
| tree | 41169cfce0d00587f4222d3237a608b70577adfc /Include/moduleobject.h | |
| parent | 6107f46bfbe4aa7b2ddb37ca5136d1d472c3f4aa (diff) | |
| download | cpython-git-460bd0d284caa00eb8ccc9a28836ba30765a19cb.tar.gz | |
Issue #19569: Compiler warnings are now emitted if use most of deprecated
functions.
Diffstat (limited to 'Include/moduleobject.h')
| -rw-r--r-- | Include/moduleobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/moduleobject.h b/Include/moduleobject.h index b44fb9b961..43b68481c3 100644 --- a/Include/moduleobject.h +++ b/Include/moduleobject.h @@ -21,7 +21,7 @@ PyAPI_FUNC(PyObject *) PyModule_New( PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *); PyAPI_FUNC(PyObject *) PyModule_GetNameObject(PyObject *); PyAPI_FUNC(const char *) PyModule_GetName(PyObject *); -PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *); +PyAPI_FUNC(const char *) PyModule_GetFilename(PyObject *) Py_DEPRECATED(3.2); PyAPI_FUNC(PyObject *) PyModule_GetFilenameObject(PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(void) _PyModule_Clear(PyObject *); |
