mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
so that MSVC 4.2 doesn't complain under NT.
This commit is contained in:
parent
1830afb4da
commit
0318fd6050
1 changed files with 3 additions and 3 deletions
|
|
@ -1459,9 +1459,6 @@ posix_symlink(self, args)
|
|||
#ifndef HZ
|
||||
#define HZ 60 /* Universal constant :-) */
|
||||
#endif /* HZ */
|
||||
static char posix_times__doc__[] =
|
||||
"times() -> (utime, stime, cutime, cstime, elapsed_time)\n\
|
||||
Return a tuple of floating point numbers indicating process times.";
|
||||
|
||||
static PyObject *
|
||||
posix_times(self, args)
|
||||
|
|
@ -1506,6 +1503,9 @@ posix_times(self, args)
|
|||
(double)0);
|
||||
}
|
||||
#endif /* MS_WIN32 */
|
||||
static char posix_times__doc__[] =
|
||||
"times() -> (utime, stime, cutime, cstime, elapsed_time)\n\
|
||||
Return a tuple of floating point numbers indicating process times.";
|
||||
|
||||
|
||||
#ifdef HAVE_SETSID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue