tests/cpydiff: Fix typo in types_bytes_keywords.py doc comments.
This commit is contained in:
parent
93bd61ca91
commit
ffd11486d4
|
@ -2,6 +2,6 @@
|
|||
categories: Types,bytes
|
||||
description: bytes() with keywords not implemented
|
||||
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'))
|
||||
|
|
Loading…
Reference in New Issue