diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-09 13:54:34 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-09 13:54:34 -0700 |
commit | 621b430a14f7225f2bf7037408743989b63b7848 (patch) | |
tree | 5b42997fb33ed52b6bd77a2953aef15704c7ca3c /Objects/bytes_methods.c | |
parent | 50fd89806f685ab4be84721a1d8f37184f625739 (diff) | |
download | cpython-git-621b430a14f7225f2bf7037408743989b63b7848.tar.gz |
remove all usage of Py_LOCAL
Diffstat (limited to 'Objects/bytes_methods.c')
-rw-r--r-- | Objects/bytes_methods.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/bytes_methods.c b/Objects/bytes_methods.c index d7f061bcf0..d5c4fe6346 100644 --- a/Objects/bytes_methods.c +++ b/Objects/bytes_methods.c @@ -670,7 +670,7 @@ _Py_bytes_contains(const char *str, Py_ssize_t len, PyObject *arg) * against substr, using the start and end arguments. Returns * -1 on error, 0 if not found and 1 if found. */ -Py_LOCAL(int) +static int tailmatch(const char *str, Py_ssize_t len, PyObject *substr, Py_ssize_t start, Py_ssize_t end, int direction) { @@ -716,7 +716,7 @@ notfound: return 0; } -Py_LOCAL(PyObject *) +static PyObject * _Py_bytes_tailmatch(const char *str, Py_ssize_t len, const char *function_name, PyObject *args, int direction) |