Skip to content

Commit 00556ee

Browse files
Add a signature for weird str() case.
1 parent 8b5e802 commit 00556ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,7 +1696,8 @@ multiple fragments.
16961696
.. index::
16971697
single: string; str (built-in class)
16981698

1699-
.. class:: str(object='')
1699+
.. class:: str(*, encoding='utf-8', errors='strict')
1700+
str(object)
17001701
str(object, encoding, errors='strict')
17011702
str(object, *, errors)
17021703

0 commit comments

Comments
 (0)