kopia lustrzana https://github.com/micropython/micropython
tests/cpydiff: Fix typo in types_bytes_keywords.py doc comments.
rodzic
93bd61ca91
commit
ffd11486d4
|
@ -2,6 +2,6 @@
|
||||||
categories: Types,bytes
|
categories: Types,bytes
|
||||||
description: bytes() with keywords not implemented
|
description: bytes() with keywords not implemented
|
||||||
cause: Unknown
|
cause: Unknown
|
||||||
workaround: Pass the encoding as a positional paramter, e.g. ``print(bytes('abc', 'utf-8'))``
|
workaround: Pass the encoding as a positional parameter, e.g. ``print(bytes('abc', 'utf-8'))``
|
||||||
"""
|
"""
|
||||||
print(bytes('abc', encoding='utf8'))
|
print(bytes('abc', encoding='utf8'))
|
||||||
|
|
Ładowanie…
Reference in New Issue