mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Rename _Py_identifier to _Py_IDENTIFIER.
This commit is contained in:
parent
01277d166a
commit
bd928fef42
57 changed files with 262 additions and 262 deletions
|
|
@ -13,17 +13,17 @@
|
|||
#include "pythread.h"
|
||||
#include "_iomodule.h"
|
||||
|
||||
_Py_identifier(close);
|
||||
_Py_identifier(_dealloc_warn);
|
||||
_Py_identifier(flush);
|
||||
_Py_identifier(isatty);
|
||||
_Py_identifier(peek);
|
||||
_Py_identifier(read);
|
||||
_Py_identifier(read1);
|
||||
_Py_identifier(readable);
|
||||
_Py_identifier(readinto);
|
||||
_Py_identifier(writable);
|
||||
_Py_identifier(write);
|
||||
_Py_IDENTIFIER(close);
|
||||
_Py_IDENTIFIER(_dealloc_warn);
|
||||
_Py_IDENTIFIER(flush);
|
||||
_Py_IDENTIFIER(isatty);
|
||||
_Py_IDENTIFIER(peek);
|
||||
_Py_IDENTIFIER(read);
|
||||
_Py_IDENTIFIER(read1);
|
||||
_Py_IDENTIFIER(readable);
|
||||
_Py_IDENTIFIER(readinto);
|
||||
_Py_IDENTIFIER(writable);
|
||||
_Py_IDENTIFIER(write);
|
||||
|
||||
/*
|
||||
* BufferedIOBase class, inherits from IOBase.
|
||||
|
|
@ -50,7 +50,7 @@ bufferediobase_readinto(PyObject *self, PyObject *args)
|
|||
Py_buffer buf;
|
||||
Py_ssize_t len;
|
||||
PyObject *data;
|
||||
_Py_identifier(read);
|
||||
_Py_IDENTIFIER(read);
|
||||
|
||||
if (!PyArg_ParseTuple(args, "w*:readinto", &buf)) {
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue