Sep-29-2017, 09:32 PM
So for example, when I type (help(bytes)) and receive:
bytes(string, encoding [,errors]) --> errors ,
Does this command take 2 arguments or 3? The bracket notation with the errors confuses me, partly because the comma is inside the bracket. Also, how can I know what types of arguments are acceptable for the encoding?
bytes(string, encoding [,errors]) --> errors ,
Does this command take 2 arguments or 3? The bracket notation with the errors confuses me, partly because the comma is inside the bracket. Also, how can I know what types of arguments are acceptable for the encoding?