Mercurial > cpython-lru_cache-weakref
diff Python/traceback.c @ 72925:7109f31300fb
Rename _Py_identifier to _Py_IDENTIFIER.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 14 Oct 2011 10:20:37 +0200 |
| parents | d76338eacf7c |
| children | 59dcb6249034 |
line wrap: on
line diff
--- a/Python/traceback.c Fri Oct 14 12:53:10 2011 +0200 +++ b/Python/traceback.c Fri Oct 14 10:20:37 2011 +0200 @@ -152,7 +152,7 @@ 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 @@ 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)
