diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-10-14 08:20:37 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-10-14 08:20:37 (GMT) |
commit | bd928fef428e48084ff29ece0e21d07ad86d0793 (patch) | |
tree | 0fd61d271dabb554cc4824e7e80b4c6d915f6ae2 /Python/traceback.c | |
parent | 01277d166a993742814c772d01987fbaafb528d4 (diff) | |
download | cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.zip cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.gz cpython-bd928fef428e48084ff29ece0e21d07ad86d0793.tar.bz2 |
Rename _Py_identifier to _Py_IDENTIFIER.
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index 44358ed..2f4653b 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -152,7 +152,7 @@ _Py_FindSourceFile(PyObject *filename, char* namebuf, size_t namelen, PyObject * const char* filepath; Py_ssize_t len; PyObject* result; - _Py_identifier(open); + _Py_IDENTIFIER(open); filebytes = PyUnicode_EncodeFSDefault(filename); if (filebytes == NULL) { @@ -232,9 +232,9 @@ _Py_DisplaySourceLine(PyObject *f, PyObject *filename, int lineno, int indent) char buf[MAXPATHLEN+1]; int kind; void *data; - _Py_identifier(close); - _Py_identifier(open); - _Py_identifier(TextIOWrapper); + _Py_IDENTIFIER(close); + _Py_IDENTIFIER(open); + _Py_IDENTIFIER(TextIOWrapper); /* open the file */ if (filename == NULL) |