Skip to content

Commit 6efcd85

Browse files
Move _Py_empty_*_methods to ignored.tsv (they are const)
1 parent 1697626 commit 6efcd85

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Tools/c-analyzer/cpython/globals-to-fix.tsv

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,7 @@ Objects/sliceobject.c - PySlice_Type -
9292
Objects/templateobject.c - _PyTemplateIter_Type -
9393
Objects/templateobject.c - _PyTemplate_Type -
9494
Objects/tupleobject.c - PyTupleIter_Type -
95-
Objects/tupleobject.c - PyTuple_Type -
96-
Objects/typeobject.c - _Py_empty_mapping_methods -
97-
Objects/typeobject.c - _Py_empty_number_methods -
98-
Objects/typeobject.c - _Py_empty_sequence_methods -
95+
Objects/tupleobject.c - PyTuple_Type -
9996
Objects/typeobject.c - _PyBufferWrapper_Type -
10097
Objects/typeobject.c - PyBaseObject_Type -
10198
Objects/typeobject.c - PySuper_Type -

Tools/c-analyzer/cpython/ignored.tsv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ Objects/typeobject.c - name_op -
352352
Objects/typeobject.c - slotdefs -
353353
# It initialized only once when main interpeter starts
354354
Objects/typeobject.c - slotdefs_dups -
355+
Objects/typeobject.c - _Py_empty_mapping_methods -
356+
Objects/typeobject.c - _Py_empty_number_methods -
357+
Objects/typeobject.c - _Py_empty_sequence_methods -
355358
Objects/unicodeobject.c - stripfuncnames -
356359
Objects/unicodeobject.c - utf7_category -
357360
Objects/unicodeobject.c unicode_decode_call_errorhandler_wchar argparse -

0 commit comments

Comments
 (0)