Staging
v0.5.1
https://github.com/python/cpython
Revision 108f13751999f63c20fa9067f3fc0feb6a87718e authored by Tim Peters on 27 August 2004, 05:36:07 UTC, committed by Tim Peters on 27 August 2004, 05:36:07 UTC
    s.join([t]) is t

for (s, t) in (str, str), (unicode, unicode), and (str, unicode).
For (unicode, str), verify that it's *not* t (the result is promoted
to unicode instead).  Also verify that when t is a subclass of str or
unicode that "the right thing" happens.
1 parent 894c512
Raw File
Tip revision: 108f13751999f63c20fa9067f3fc0feb6a87718e authored by Tim Peters on 27 August 2004, 05:36:07 UTC
test_bug1001011(): Verify that
Tip revision: 108f137
pystrtod.h
#ifndef Py_STRTOD_H
#define Py_STRTOD_H

#ifdef __cplusplus
extern "C" {
#endif


PyAPI_FUNC(double) PyOS_ascii_strtod(const char *str, char **ptr);
PyAPI_FUNC(double) PyOS_ascii_atof(const char *str);
PyAPI_FUNC(char *) PyOS_ascii_formatd(char *buffer, int buf_len,  const char *format, double d);


#ifdef __cplusplus
}
#endif

#endif /* !Py_STRTOD_H */
back to top