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

pull/1/head
clach04 2019-10-20 18:22:20 -07:00 committed by Damien George
parent 93bd61ca91
commit ffd11486d4
1 changed files with 1 additions and 1 deletions

View File

@ -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'))