summaryrefslogtreecommitdiffstats
path: root/Include/fileutils.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-21 14:01:47 (GMT)
committerGitHub <noreply@github.com>2022-04-21 14:01:47 (GMT)
commit1a2b282f201073d5153e737568c833af6f1b349e (patch)
tree81040c44144273aa43c8ad8e5420871b40f6f871 /Include/fileutils.h
parentf2b4e458b3327130e46edb4efe8e1847de09efc5 (diff)
downloadcpython-1a2b282f201073d5153e737568c833af6f1b349e.zip
cpython-1a2b282f201073d5153e737568c833af6f1b349e.tar.gz
cpython-1a2b282f201073d5153e737568c833af6f1b349e.tar.bz2
gh-89653: PEP 670: Convert PyWeakref_GET_OBJECT() to function (#91785)
Convert the PyWeakref_GET_OBJECT() macro to a static inline function. Add an assertion to check the argument with PyWeakref_Check(). Add a macro converting the argument to PyObject* to prevent emitting new compiler warning.
Diffstat (limited to 'Include/fileutils.h')
0 files changed, 0 insertions, 0 deletions