diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 693f773..046fd1b 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -2173,7 +2173,9 @@ PyDoc_STRVAR(translate__doc__, Return a copy of the string S, where all characters occurring\n\ in the optional argument deletechars are removed, and the\n\ remaining characters have been mapped through the given\n\ -translation table, which must be a string of length 256."); +translation table, which must be a string of length 256.\n\ +If the table argument is None, the translation only deletes\n\ +characters."); static PyObject * string_translate(PyStringObject *self, PyObject *args)