FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-36346: Make unicodeobject.h C89 compatible (GH-20934) · python/cpython@8e34e92 · GitHub

Repository navigation

Commit 8e34e92

Browse files
authored
bpo-36346: Make unicodeobject.h C89 compatible (GH-20934)
1 parent 07923f3 commit 8e34e92

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Include/cpython/unicodeobject.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ Py_UNICODE_COPY(Py_UNICODE *target, const Py_UNICODE *source, Py_ssize_t length)
5353

5454
Py_DEPRECATED(3.3) static inline void
5555
Py_UNICODE_FILL(Py_UNICODE *target, Py_UNICODE value, Py_ssize_t length) {
56-
for (Py_ssize_t i = 0; i < length; i++) {
56+
Py_ssize_t i;
57+
for (i = 0; i < length; i++) {
5758
target[i] = value;
5859
}
5960
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL