mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 21:20:13 +01:00
all: Upgrade to ruff v0.9.6.
Signed-off-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@@ -5,7 +5,7 @@ for i in range(len(s)):
|
||||
|
||||
# Test all three forms of Unicode escape, and
|
||||
# all blocks of UTF-8 byte patterns
|
||||
s = "a\xA9\xFF\u0123\u0800\uFFEE\U0001F44C"
|
||||
s = "a\xa9\xff\u0123\u0800\uffee\U0001f44c"
|
||||
for i in range(-len(s), len(s)):
|
||||
print("s[%d]: %s %X" % (i, s[i], ord(s[i])))
|
||||
print("s[:%d]: %d chars, '%s'" % (i, len(s[:i]), s[:i]))
|
||||
|
||||
Reference in New Issue
Block a user