[Python-checkins] cpython: #28067: Fixed a typo.

alexander.belopolsky python-checkins at python.org
Sat Sep 10 16:08:28 EDT 2016


https://hg.python.org/cpython/rev/5bdfe132e4ed
changeset:   103583:5bdfe132e4ed
user:        Alexander Belopolsky <alexander.belopolsky at gmail.com>
date:        Sat Sep 10 16:08:26 2016 -0400
summary:
  #28067: Fixed a typo.

files:
  Modules/_datetimemodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c
--- a/Modules/_datetimemodule.c
+++ b/Modules/_datetimemodule.c
@@ -17,7 +17,7 @@
 }
 static struct tm *gmtime_r(const time_t *timep, struct tm *result)
 {
-    if (gmime_s(result, timep) == 0)
+    if (gmtime_s(result, timep) == 0)
         return result;
     return NULL;
 }

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list