8000 add header comment · python/cpython@5984b86 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5984b86

Browse files
committed
add header comment
1 parent 3a91299 commit 5984b86

19 files changed

+19
-19
lines changed

Modules/_collectionsmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "pycore_moduleobject.h" // _PyModule_GetState()
66
#include "pycore_pyatomic_ft_wrappers.h"
77
#include "pycore_typeobject.h" // _PyType_GetModuleState()
8-
#include "pycore_weakref.h"
8+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
99

1010
#include <stddef.h>
1111

Modules/_elementtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include "Python.h"
1919
#include "pycore_pyhash.h" // _Py_HashSecret
20-
#include "pycore_weakref.h"
20+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
2121

2222
#include <stddef.h> // offsetof()
2323
#include "expat.h"

Modules/_functoolsmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "pycore_pyatomic_ft_wrappers.h"
88
#include "pycore_pystate.h" // _PyThreadState_GET()
99
#include "pycore_tuple.h" // _PyTuple_ITEMS()
10-
#include "pycore_weakref.h"
10+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1111

1212

1313
#include "clinic/_functoolsmodule.c.h"

Modules/_io/bufferedio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
1414
#include "pycore_pyerrors.h" // _Py_FatalErrorFormat()
1515
#include "pycore_pylifecycle.h" // _Py_IsInterpreterFinalizing()
16-
#include "pycore_weakref.h"
16+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1717

1818
#include "_iomodule.h"
1919

Modules/_io/bytesio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "pycore_object.h"
44
#include "pycore_pyatomic_ft_wrappers.h"
55
#include "pycore_sysmodule.h" // _PySys_GetSizeOf()
6-
#include "pycore_weakref.h"
6+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
77

88
#include <stddef.h> // offsetof()
99
#include "_iomodule.h"

Modules/_io/fileio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
55
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
66
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
7-
#include "pycore_weakref.h"
7+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
88

99
#include <stdbool.h> // bool
1010
#ifdef HAVE_UNISTD_H

Modules/_io/iobase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "pycore_long.h" // _PyLong_GetOne()
1515
#include "pycore_object.h" // _PyType_HasFeature()
1616
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
17-
#include "pycore_weakref.h"
17+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1818

1919
#include <stddef.h> // offsetof()
2020
#include "_iomodule.h"

Modules/_io/stringio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "Python.h"
22
#include <stddef.h> // offsetof()
33
#include "pycore_object.h"
4-
#include "pycore_weakref.h"
4+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
55
#include "_iomodule.h"
66

77
/* Implementation note: the buffer is always at least one character longer

Modules/_io/textio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
1717
#include "pycore_pystate.h" // _PyInterpreterState_GET()
1818
#include "pycore_unicodeobject.h" // _PyUnicode_AsASCIIString()
19-
#include "pycore_weakref.h"
19+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
2020

2121
#include "_iomodule.h"
2222

Modules/_io/winconsoleio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
1111
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
1212
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
13-
#include "pycore_weakref.h"
13+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1414

1515
#ifdef HAVE_WINDOWS_CONSOLE_IO
1616

Modules/_queuemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "pycore_moduleobject.h" // _PyModule_GetState()
88
#include "pycore_parking_lot.h"
99
#include "pycore_time.h" // _PyTime_FromSecondsObject()
10-
#include "pycore_weakref.h"
10+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1111

1212
#include <stdbool.h>
1313
#include <stddef.h> // offsetof()

Modules/_sqlite/blob.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include "blob.h"
66
#include "util.h"
7-
#include "pycore_weakref.h"
7+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
88

99
#define clinic_state() (pysqlite_get_state_by_type(Py_TYPE(self)))
1010
#include "clinic/blob.c.h"

Modules/_sqlite/cursor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "util.h"
3232

3333
#include "pycore_pyerrors.h" // _PyErr_FormatFromCause()
34-
#include "pycore_weakref.h"
34+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
3535

3636
typedef enum {
3737
TYPE_LONG,

Modules/_sre/sre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static const char copyright[] =
4444
#include "pycore_long.h" // _PyLong_GetZero()
4545
#include "pycore_moduleobject.h" // _PyModule_GetState()
4646
#include "pycore_unicodeobject.h" // _PyUnicode_Copy
47-
#include "pycore_weakref.h"
47+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
4848

4949
#include "sre.h" // SRE_CODE
5050

Modules/_struct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "pycore_bytesobject.h" // _PyBytesWriter
1212
#include "pycore_long.h" // _PyLong_AsByteArray()
1313
#include "pycore_moduleobject.h" // _PyModule_GetState()
14-
#include "pycore_weakref.h"
14+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1515

1616
#include <stddef.h> // offsetof()
1717

Modules/_threadmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "pycore_pylifecycle.h"
1212
#include "pycore_pystate.h" // _PyThreadState_SetCurrent()
1313
#include "pycore_time.h" // _PyTime_FromSeconds()
14-
#include "pycore_weakref.h" // _PyWeakref_GET_REF()
14+
#include "pycore_weakref.h" // _PyWeakref_GET_REF(), FT_CLEAR_WEAKREFS()
1515

1616
#include <stddef.h> // offsetof()
1717
#ifdef HAVE_SIGNAL_H

Modules/_zoneinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "pycore_long.h" // _PyLong_GetOne()
88
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
99
#include "pycore_typeobject.h" // _PyType_GetModuleState()
10-
#include "pycore_weakref.h"
10+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1111

1212
#include "datetime.h" // PyDateTime_TZInfo
1313

Modules/arraymodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "pycore_ceval.h" // _PyEval_GetBuiltin()
1414
#include "pycore_modsupport.h" // _PyArg_NoKeywords()
1515
#include "pycore_moduleobject.h" // _PyModule_GetState()
16-
#include "pycore_weakref.h"
16+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
1717

1818
#include <stddef.h> // offsetof()
1919
#include <stdbool.h>

Modules/mmapmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <Python.h>
2626
#include "pycore_bytesobject.h" // _PyBytes_Find()
2727
#include "pycore_fileutils.h" // _Py_stat_struct
28-
#include "pycore_weakref.h"
28+
#include "pycore_weakref.h" // FT_CLEAR_WEAKREFS()
2929

3030
#include <stddef.h> // offsetof()
3131
#ifndef MS_WINDOWS

0 commit comments

Comments
 (0)
0