diff options
author | Ondřej Čertík <ondrej.certik@gmail.com> | 2012-12-27 15:27:41 -0800 |
---|---|---|
committer | Ondřej Čertík <ondrej.certik@gmail.com> | 2012-12-27 15:27:41 -0800 |
commit | 8a99edc3c6ae2c48c0f21d1bce5553a8540b85e0 (patch) | |
tree | 3507e1d2827997a5696de91ca7cb438ed316116a | |
parent | 75bb79c26dc6f4f8fde066db6eeb99caa1fbcc8b (diff) | |
download | numpy-8a99edc3c6ae2c48c0f21d1bce5553a8540b85e0.tar.gz |
DOC: Add a blank line to multiline comments
Multiline comments should begin with a blank line. This patch fixes it.
-rw-r--r-- | numpy/core/src/multiarray/datetime_strings.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/numpy/core/src/multiarray/datetime_strings.c b/numpy/core/src/multiarray/datetime_strings.c index 592511cb6..e74da0384 100644 --- a/numpy/core/src/multiarray/datetime_strings.c +++ b/numpy/core/src/multiarray/datetime_strings.c @@ -24,7 +24,8 @@ #include "_datetime.h" #include "datetime_strings.h" -/* Platform-specific time_t typedef. Some platforms use 32 bit, some use 64 bit +/* + * Platform-specific time_t typedef. Some platforms use 32 bit, some use 64 bit * and we just use the default with the exception of mingw, where we must use * 64 bit because MSVCRT version 9 does not have the (32 bit) localtime() * symbol, so we need to use the 64 bit version [1]. @@ -204,7 +205,8 @@ convert_datetimestruct_utc_to_local(npy_datetimestruct *out_dts_local, /* Make a copy of the input 'dts' to modify */ *out_dts_local = *dts_utc; - /* For 32 bit NPY_TIME_T, the get_localtime() function does not work for + /* + * For 32 bit NPY_TIME_T, the get_localtime() function does not work for * years later than 2038, see the comments above get_localtime(). So if the * year >= 2038, we instead call get_localtime() for the year 2036 or 2037 * (depending on the leap year) which must work and at the end we add the @@ -274,7 +276,8 @@ convert_datetimestruct_local_to_utc(npy_datetimestruct *out_dts_utc, /* Make a copy of the input 'dts' to modify */ *out_dts_utc = *dts_local; - /* For 32 bit NPY_TIME_T, the get_mktime()/get_gmtime() functions do not + /* + * For 32 bit NPY_TIME_T, the get_mktime()/get_gmtime() functions do not * work for years later than 2038. So if the year >= 2038, we instead call * get_mktime()/get_gmtime() for the year 2036 or 2037 (depending on the * leap year) which must work and at the end we add the 'year_correction' |