Staging
v0.8.1
Revision a4ddd3e9568b104e274b524ec868d19d83a0c27c authored by Eric Smith on 05 May 2009, 14:07:12 UTC, committed by Eric Smith on 05 May 2009, 14:07:12 UTC
........
  r72333 | eric.smith | 2009-05-05 10:04:18 -0400 (Tue, 05 May 2009) | 1 line

  Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson.
........
1 parent 3859f46
Raw File
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