8000 Apply Victor's suggestions from gh-102995 · erlend-aasland/cpython@2eb3315 · GitHub < 8000 /head>
[go: up one dir, main page]

Skip to content

Commit 2eb3315

Browse files
Apply Victor's suggestions from pythongh-102995
1 parent 6b14c8c commit 2eb3315

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Modules/_datetimemodule.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242

4343
typedef struct {
4444
/* Conversion factors. */
45-
PyObject *us_per_ms; // 1000
46-
PyObject *us_per_second; // 1000000
45+
PyObject *us_per_ms; // 1_000
46+
PyObject *us_per_second; // 1_000_000
4747
PyObject *us_per_minute; // 1e6 * 60 as Python int
4848
PyObject *us_per_hour; // 1e6 * 3600 as Python int
4949
PyObject *us_per_day; // 1e6 * 3600 * 24 as Python int
50-
PyObject *us_per_week; // 1e6*3600*24*7 as Python int
51-
PyObject *seconds_per_day; // 3600*24 as Python int
50+
PyObject *us_per_week; // 1e6 * 3600 * 24 * 7 as Python int
51+
PyObject *seconds_per_day; // 3600 * 24 as Python int
5252

5353
/* The interned UTC timezone instance */
5454
PyObject *PyDateTime_TimeZone_UTC;

0 commit comments

Comments
 (0)
0