mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use identifier API for PyObject_GetAttrString.
This commit is contained in:
parent
794d567b17
commit
1ee1b6fe0d
28 changed files with 499 additions and 357 deletions
|
@ -1126,6 +1126,7 @@ scanner_init(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
PyObject *ctx;
|
||||
static char *kwlist[] = {"context", NULL};
|
||||
PyScannerObject *s;
|
||||
_Py_identifier(strict);
|
||||
|
||||
assert(PyScanner_Check(self));
|
||||
s = (PyScannerObject *)self;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue