diff options
author | Steve Dower <steve.dower@python.org> | 2021-04-30 00:08:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-30 00:08:55 (GMT) |
commit | 87655e2cf58c543914ea05ebe5a0377441da1ef2 (patch) | |
tree | 768436c547182d733a35d98562e05ce41470ce35 /Objects/descrobject.c | |
parent | 9a2c2a9ec3140b6c54c9ef9d994311f114128ee3 (diff) | |
download | cpython-87655e2cf58c543914ea05ebe5a0377441da1ef2.zip cpython-87655e2cf58c543914ea05ebe5a0377441da1ef2.tar.gz cpython-87655e2cf58c543914ea05ebe5a0377441da1ef2.tar.bz2 |
bpo-42800: Rename AUDIT_READ to PY_AUDIT_READ (GH-25736)
Diffstat (limited to 'Objects/descrobject.c')
-rw-r--r-- | Objects/descrobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 297b852..dd41620 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -164,7 +164,7 @@ member_get(PyMemberDescrObject *descr, PyObject *obj, PyObject *type) if (descr_check((PyDescrObject *)descr, obj, &res)) return res; - if (descr->d_member->flags & AUDIT_READ) { + if (descr->d_member->flags & PY_AUDIT_READ) { if (PySys_Audit("object.__getattr__", "Os", obj ? obj : Py_None, descr->d_member->name) < 0) { return NULL; |