diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2022-03-05 15:47:00 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-05 15:47:00 (GMT) |
| commit | 6927632492cbad86a250aa006c1847e03b03e70b (patch) | |
| tree | e78631ceabf92fb41ab1deb78a024d2704a3eddb /Python | |
| parent | ab9301a28fa431d7a32163126fc96de3b2ce6107 (diff) | |
| download | cpython-6927632492cbad86a250aa006c1847e03b03e70b.zip cpython-6927632492cbad86a250aa006c1847e03b03e70b.tar.gz cpython-6927632492cbad86a250aa006c1847e03b03e70b.tar.bz2 | |
Remove trailing spaces (GH-31695)
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/fileutils.c | 2 | ||||
| -rw-r--r-- | Python/specialize.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c index 9a71b83..111d7fa 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -2093,7 +2093,7 @@ join_relfile(wchar_t *buffer, size_t bufsize, const wchar_t *dirname, const wchar_t *relfile) { #ifdef MS_WINDOWS - if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile, + if (FAILED(PathCchCombineEx(buffer, bufsize, dirname, relfile, PATHCCH_ALLOW_LONG_PATHS))) { return -1; } diff --git a/Python/specialize.c b/Python/specialize.c index 6328f11..417eece 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -1077,7 +1077,7 @@ _Py_Specialize_LoadMethod(PyObject *owner, _Py_CODEUNIT *instr, PyObject *name) PyTypeObject *owner_cls = Py_TYPE(owner); if (PyModule_CheckExact(owner)) { - assert(INLINE_CACHE_ENTRIES_LOAD_ATTR <= + assert(INLINE_CACHE_ENTRIES_LOAD_ATTR <= INLINE_CACHE_ENTRIES_LOAD_METHOD); int err = specialize_module_load_attr(owner, instr, name, LOAD_METHOD, LOAD_METHOD_MODULE); |
