diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-27 04:20:14 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-27 04:20:14 (GMT) |
commit | 3f5db3940ff71428d1eecb3d4eebe68d9c3d216d (patch) | |
tree | ef8c20da3ad9050700786a6999e1094f7fe397ba /Modules | |
parent | 1c1cadbbca21f75733bb201e7c94863b6e6ed206 (diff) | |
download | cpython-3f5db3940ff71428d1eecb3d4eebe68d9c3d216d.zip cpython-3f5db3940ff71428d1eecb3d4eebe68d9c3d216d.tar.gz cpython-3f5db3940ff71428d1eecb3d4eebe68d9c3d216d.tar.bz2 |
Fix a few typos and a double semicolon. Patch by Eitan Adler.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_datetimemodule.c | 2 | ||||
-rw-r--r-- | Modules/_decimal/libmpdec/mpdecimal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index 873d46f..7c7170d 100644 --- a/Modules/_datetimemodule.c +++ b/Modules/_datetimemodule.c @@ -3598,7 +3598,7 @@ time_isoformat(PyDateTime_Time *self, PyObject *unused) { char buf[100]; PyObject *result; - int us = TIME_GET_MICROSECOND(self);; + int us = TIME_GET_MICROSECOND(self); if (us) result = PyUnicode_FromFormat("%02d:%02d:%02d.%06d", diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c index 721174d..c63a1a0 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.c +++ b/Modules/_decimal/libmpdec/mpdecimal.c @@ -2084,7 +2084,7 @@ mpd_qcmp(const mpd_t *a, const mpd_t *b, uint32_t *status) } /* - * Compare a and b, convert the the usual integer result to a decimal and + * Compare a and b, convert the usual integer result to a decimal and * store it in 'result'. For convenience, the integer result of the comparison * is returned. Comparisons involving NaNs return NaN/INT_MAX. */ |