Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Closed
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
bytes() and bytearray() don't show the default values for source, encoding and errors as shown below:
class bytearray(source=b'')
class bytearray(source, encoding)
class bytearray(source, encoding, errors)
class bytes(source=b'')
class bytes(source, encoding)
class bytes(source, encoding, errors)
So, they should have the default values as shown below:
class bytearray(source=b'')
class bytearray(source, encoding='utf-8')
class bytearray(source, encoding='utf-8', errors='strict')
class bytes(source=b'')
class bytes(source, encoding='utf-8')
class bytes(source, encoding='utf-8', errors='strict')
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo