mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #3080: Mark _PyImport_FindBuiltin() argument as constant
And as a consequence, mark also name argument of _PyImport_FindExtensionUnicode() constant too. But I plan to change this argument type to PyObject* later.
This commit is contained in:
parent
d7e76405c7
commit
501c09a754
2 changed files with 4 additions and 4 deletions
|
@ -65,9 +65,9 @@ PyAPI_FUNC(int) _PyImport_ReleaseLock(void);
|
|||
PyAPI_FUNC(void) _PyImport_ReInitLock(void);
|
||||
|
||||
PyAPI_FUNC(PyObject *)_PyImport_FindBuiltin(
|
||||
char *name /* UTF-8 encoded string */
|
||||
const char *name /* UTF-8 encoded string */
|
||||
);
|
||||
PyAPI_FUNC(PyObject *)_PyImport_FindExtensionUnicode(char *, PyObject *);
|
||||
PyAPI_FUNC(PyObject *)_PyImport_FindExtensionUnicode(const char *, PyObject *);
|
||||
PyAPI_FUNC(int)_PyImport_FixupBuiltin(
|
||||
PyObject *mod,
|
||||
char *name /* UTF-8 encoded string */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue