提交 ffd11486 编写于 作者: C clach04 提交者: Damien George

tests/cpydiff: Fix typo in types_bytes_keywords.py doc comments.

上级 93bd61ca
......@@ -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'))
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册