@@ -572,7 +572,7 @@ static int PYXXH32_init(PYXXH32Object *self, PyObject *args, PyObject *kwargs)
572572PyDoc_STRVAR (
573573 PYXXH32_update_doc ,
574574 "update (data)\n\n"
575- "Update the xxh32 object with the string data. Repeated calls are\n"
575+ "Update the xxh32 object with bytes-like data. Repeated calls are\n"
576576 "equivalent to a single call with the concatenation of all the arguments." );
577577
578578static PyObject * PYXXH32_update (PYXXH32Object * self , PyObject * arg )
@@ -593,7 +593,7 @@ static PyObject *PYXXH32_update(PYXXH32Object *self, PyObject *arg)
593593PyDoc_STRVAR (
594594 PYXXH32_digest_doc ,
595595 "digest() -> string\n\n"
596- "Return the digest of the strings passed to the update() method so\n"
596+ "Return the digest of the data passed to the update() method so\n"
597597 "far. This is a 4-byte string which may contain non-ASCII characters,\n"
598598 "including null bytes." );
599599
@@ -927,7 +927,7 @@ static int PYXXH64_init(PYXXH64Object *self, PyObject *args, PyObject *kwargs)
927927PyDoc_STRVAR (
928928 PYXXH64_update_doc ,
929929 "update (data)\n\n"
930- "Update the xxh64 object with the string data. Repeated calls are\n"
930+ "Update the xxh64 object with bytes-like data. Repeated calls are\n"
931931 "equivalent to a single call with the concatenation of all the arguments." );
932932
933933static PyObject * PYXXH64_update (PYXXH64Object * self , PyObject * arg )
@@ -947,7 +947,7 @@ static PyObject *PYXXH64_update(PYXXH64Object *self, PyObject *arg)
947947PyDoc_STRVAR (
948948 PYXXH64_digest_doc ,
949949 "digest() -> string\n\n"
950- "Return the digest of the strings passed to the update() method so\n"
950+ "Return the digest of the data passed to the update() method so\n"
951951 "far. This is a 8-byte string which may contain non-ASCII characters,\n"
952952 "including null bytes." );
953953
@@ -1281,7 +1281,7 @@ static int PYXXH3_64_init(PYXXH3_64Object *self, PyObject *args, PyObject *kwarg
12811281PyDoc_STRVAR (
12821282 PYXXH3_64_update_doc ,
12831283 "update (data)\n\n"
1284- "Update the xxh3_64 object with the string data. Repeated calls are\n"
1284+ "Update the xxh3_64 object with bytes-like data. Repeated calls are\n"
12851285 "equivalent to a single call with the concatenation of all the arguments." );
12861286
12871287static PyObject * PYXXH3_64_update (PYXXH3_64Object * self , PyObject * arg )
@@ -1301,7 +1301,7 @@ static PyObject *PYXXH3_64_update(PYXXH3_64Object *self, PyObject *arg)
13011301PyDoc_STRVAR (
13021302 PYXXH3_64_digest_doc ,
13031303 "digest() -> string\n\n"
1304- "Return the digest of the strings passed to the update() method so\n"
1304+ "Return the digest of the data passed to the update() method so\n"
13051305 "far. This is a 8-byte string which may contain non-ASCII characters,\n"
13061306 "including null bytes." );
13071307
@@ -1644,7 +1644,7 @@ static int PYXXH3_128_init(PYXXH3_128Object *self, PyObject *args, PyObject *kwa
16441644PyDoc_STRVAR (
16451645 PYXXH3_128_update_doc ,
16461646 "update (data)\n\n"
1647- "Update the xxh3_128 object with the string data. Repeated calls are\n"
1647+ "Update the xxh3_128 object with bytes-like data. Repeated calls are\n"
16481648 "equivalent to a single call with the concatenation of all the arguments." );
16491649
16501650static PyObject * PYXXH3_128_update (PYXXH3_128Object * self , PyObject * arg )
@@ -1664,7 +1664,7 @@ static PyObject *PYXXH3_128_update(PYXXH3_128Object *self, PyObject *arg)
16641664PyDoc_STRVAR (
16651665 PYXXH3_128_digest_doc ,
16661666 "digest() -> string\n\n"
1667- "Return the digest of the strings passed to the update() method so\n"
1667+ "Return the digest of the data passed to the update() method so\n"
16681668 "far. This is a 16-byte string which may contain non-ASCII characters,\n"
16691669 "including null bytes." );
16701670
0 commit comments