Staging
v0.8.1
https://github.com/python/cpython
Revision fde0041089de2d13e7c473200fb74d3956203987 authored by Miss Islington (bot) on 18 February 2020, 03:05:14 UTC, committed by GitHub on 18 February 2020, 03:05:14 UTC

Test when find_good_parse_start should return 0.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit ffda25f6b825f3dee493b6f0746266a4dd6989f0)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
1 parent 3c57ca6
Raw File
Tip revision: fde0041089de2d13e7c473200fb74d3956203987 authored by Miss Islington (bot) on 18 February 2020, 03:05:14 UTC
bpo-39663: IDLE: Add additional tests for pyparse (GH-18536)
Tip revision: fde0041
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