Skip to content

Commit

Permalink
tests/cpydiff: Fix typo in types_bytes_keywords.py doc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
clach04 authored and dpgeorge committed Oct 21, 2019
1 parent 93bd61c commit ffd1148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cpydiff/types_bytes_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

0 comments on commit ffd1148

Please sign in to comment.