Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0a0afd

Browse files
committed
Merge 3.5 (pytime)
2 parents 349718a + c379ade commit e0a0afd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Python/pytime.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ _PyTime_AsTimespec(_PyTime_t t, struct timespec *ts)
534534
#endif
535535

536536
static int
537-
pygettimeofday_new(_PyTime_t *tp, _Py_clock_info_t *info, int raise)
537+
pygettimeofday(_PyTime_t *tp, _Py_clock_info_t *info, int raise)
538538
{
539539
#ifdef MS_WINDOWS
540540
FILETIME system_time;
@@ -626,7 +626,7 @@ _PyTime_t
626626
_PyTime_GetSystemClock(void)
627627
{
628628
_PyTime_t t;
629-
if (pygettimeofday_new(&t, NULL, 0) < 0) {
629+
if (pygettimeofday(&t, NULL, 0) < 0) {
630630
/* should not happen, _PyTime_Init() checked the clock at startup */
631631
assert(0);
632632

@@ -639,7 +639,7 @@ _PyTime_GetSystemClock(void)
639639
int
640640
_PyTime_GetSystemClockWithInfo(_PyTime_t *t, _Py_clock_info_t *info)
641641
{
642-
return pygettimeofday_new(t, info, 1);
642+
return pygettimeofday(t, info, 1);
643643
}
644644

645645
static int

0 commit comments

Comments
 (0)