diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-09-09 20:54:34 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-09-09 20:54:34 (GMT) |
| commit | 621b430a14f7225f2bf7037408743989b63b7848 (patch) | |
| tree | 5b42997fb33ed52b6bd77a2953aef15704c7ca3c /Objects/bytes_methods.c | |
| parent | 50fd89806f685ab4be84721a1d8f37184f625739 (diff) | |
| download | cpython-621b430a14f7225f2bf7037408743989b63b7848.zip cpython-621b430a14f7225f2bf7037408743989b63b7848.tar.gz cpython-621b430a14f7225f2bf7037408743989b63b7848.tar.bz2 | |
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 d7f061b..d5c4fe6 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) |
