[pypy-commit] pypy 2634_datetime_timedelta_performance: Fix accidental change

barrywhart pypy.commits at gmail.com
Fri Feb 2 07:38:18 EST 2018


Author: Barry Hart <barrywhart at yahoo.com>
Branch: 2634_datetime_timedelta_performance
Changeset: r93735:ac4aeeed1bd1
Date: 2018-01-01 08:21 -0500
http://bitbucket.org/pypy/pypy/changeset/ac4aeeed1bd1/

Log:	Fix accidental change

diff --git a/lib_pypy/datetime.py b/lib_pypy/datetime.py
--- a/lib_pypy/datetime.py
+++ b/lib_pypy/datetime.py
@@ -1540,7 +1540,7 @@
         offset = self._utcoffset()
         if offset:  # neither None nor 0
             mm -= offset
-            y, m, d, hh, mm, ss, _ = normalize_datetime(
+            y, m, d, hh, mm, ss, _ = _normalize_datetime(
                 y, m, d, hh, mm, ss, 0, ignore_overflow=True)
         return _build_struct_time(y, m, d, hh, mm, ss, 0)
 


More information about the pypy-commit mailing list