We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f8a223 commit 6c1db44Copy full SHA for 6c1db44
Tools/c-analyzer/c_globals/supported.py
@@ -211,7 +211,8 @@ def _is_object(vartype):
211
return True
212
if '_PyArg_Parser ' in vartype:
213
214
- if vartype.startswith(('_Py_IDENTIFIER(', '_Py_static_string(')):
+ if vartype.startswith(('_Py_IDENTIFIER(', 'static _Py_Identifier',
215
+ '_Py_static_string(')):
216
217
if 'traceback_t' in vartype:
218
@@ -223,6 +224,10 @@ def _is_object(vartype):
223
224
225
if 'method_cache_entry' in vartype:
226
227
+ if vartype.startswith('static identifier '):
228
+ return True
229
+ if vartype.endswith((' _Py_FalseStruct', ' _Py_TrueStruct')):
230
231
232
# XXX Add more?
233
0 commit comments