str, bytes, bytearray docstring: remove unnecessary [...]
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 @@
}
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\