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

Skip to content

Commit bae7330

Browse files
committed
DOC: Add a blank line to multiline comments
Multiline comments should begin with a blank line. This patch fixes it.
1 parent c8decf2 commit bae7330

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

numpy/core/src/multiarray/datetime_strings.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
#include "_datetime.h"
2525
#include "datetime_strings.h"
2626

27-
/* Platform-specific time_t typedef. Some platforms use 32 bit, some use 64 bit
27+
/*
28+
* Platform-specific time_t typedef. Some platforms use 32 bit, some use 64 bit
2829
* and we just use the default with the exception of mingw, where we must use
2930
* 64 bit because MSVCRT version 9 does not have the (32 bit) localtime()
3031
* 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,
204205
/* Make a copy of the input 'dts' to modify */
205206
*out_dts_local = *dts_utc;
206207

207-
/* For 32 bit NPY_TIME_T, the get_localtime() function does not work for
208+
/*
209+
* For 32 bit NPY_TIME_T, the get_localtime() function does not work for
208210
* years later than 2038, see the comments above get_localtime(). So if the
209211
* year >= 2038, we instead call get_localtime() for the year 2036 or 2037
210212
* (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,
274276
/* Make a copy of the input 'dts' to modify */
275277
*out_dts_utc = *dts_local;
276278

277-
/* For 32 bit NPY_TIME_T, the get_mktime()/get_gmtime() functions do not
279+
/*
280+
* For 32 bit NPY_TIME_T, the get_mktime()/get_gmtime() functions do not
278281
* work for years later than 2038. So if the year >= 2038, we instead call
279282
* get_mktime()/get_gmtime() for the year 2036 or 2037 (depending on the
280283
* leap year) which must work and at the end we add the 'year_correction'

0 commit comments

Comments
 (0)