Skip to content

Commit 2d73c4b

Browse files
Rollup merge of #112499 - tgross35:py-ruff-fixes, r=Mark-Simulacrum
Fix python linting errors These were flagged by `ruff`, run using the config in rust-lang/rust#112482
2 parents 297d040 + 1e20083 commit 2d73c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/unicode/printable.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def print_singletons(uppers, lowers, uppersname, lowersname):
119119
print("#[rustfmt::skip]")
120120
print("const {}: &[u8] = &[".format(lowersname))
121121
for i in range(0, len(lowers), 8):
122-
print(" {}".format(" ".join("{:#04x},".format(l) for l in lowers[i:i+8])))
122+
print(" {}".format(" ".join("{:#04x},".format(x) for x in lowers[i:i+8])))
123123
print("];")
124124

125125
def print_normal(normal, normalname):

0 commit comments

Comments
 (0)