Staging
v0.5.1
https://github.com/python/cpython
Revision cf9a63c6c7e19f3d27cf3b5731d02cc216ef3dd1 authored by Miss Islington (bot) on 14 July 2019, 23:49:52 UTC, committed by GitHub on 14 July 2019, 23:49:52 UTC

https://bugs.python.org/issue37593
(cherry picked from commit cd6e83b4810549c308ab2d7315dbab526e35ccf6)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent 3958b7a
Raw File
Tip revision: cf9a63c6c7e19f3d27cf3b5731d02cc216ef3dd1 authored by Miss Islington (bot) on 14 July 2019, 23:49:52 UTC
bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778)
Tip revision: cf9a63c
pystrcmp.h
#ifndef Py_STRCMP_H
#define Py_STRCMP_H

#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);

#ifdef MS_WINDOWS
#define PyOS_strnicmp strnicmp
#define PyOS_stricmp stricmp
#else
#define PyOS_strnicmp PyOS_mystrnicmp
#define PyOS_stricmp PyOS_mystricmp
#endif

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRCMP_H */
back to top