File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1627,7 +1627,7 @@ expression support in the :mod:`re` module).
1627
1627
Return an encoded version of the string as a bytes object. Default encoding
1628
1628
is ``'utf-8' ``. And for a list of possible encodings, see section
1629
1629
:ref: `standard-encodings `.
1630
-
1630
+
1631
1631
*errors * may be given to set a different error handling scheme. The
1632
1632
default for *errors * is ``'strict' ``, meaning that encoding errors raise
1633
1633
a :exc: `UnicodeError `. Other possible values are ``'ignore' ``,
@@ -2764,7 +2764,7 @@ arbitrary binary data.
2764
2764
Return a string decoded from the given bytes. Default encoding is
2765
2765
``'utf-8' ``. And for a list of possible encodings, see section
2766
2766
:ref: `standard-encodings `.
2767
-
2767
+
2768
2768
*errors * may be given to set a different error handling scheme. The
2769
2769
default for *errors * is ``'strict' ``, meaning that encoding errors raise a
2770
2770
:exc: `UnicodeError `. Other possible values are ``'ignore' ``, ``'replace' ``
You can’t perform that action at this time.
0 commit comments