diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-07 19:04:46 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-11-07 19:04:46 (GMT) |
commit | c911bbfd5d18ac14bf24fc7a881883debcc7c7c8 (patch) | |
tree | 83159e9ebb2c06a1bb4d523f0d6f1ad97be6d013 /Objects/unicodeobject.c | |
parent | e14e2122211081fe7e71871f77f70a0cb105dbfd (diff) | |
download | cpython-c911bbfd5d18ac14bf24fc7a881883debcc7c7c8.zip cpython-c911bbfd5d18ac14bf24fc7a881883debcc7c7c8.tar.gz cpython-c911bbfd5d18ac14bf24fc7a881883debcc7c7c8.tar.bz2 |
str, bytes, bytearray docstring: remove unnecessary [...]
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 4be0b17..cff756a 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -7393,7 +7393,7 @@ unicode_count(PyUnicodeObject *self, PyObject *args) } PyDoc_STRVAR(encode__doc__, - "S.encode([encoding='utf-8'[, errors='strict']]) -> bytes\n\ + "S.encode(encoding='utf-8', errors='strict') -> bytes\n\ \n\ Encode S using the codec registered for encoding. Default encoding\n\ is 'utf-8'. errors may be given to set a different error\n\ |