Skip to content

Commit 6349a39

Browse files
committed
Update docstrings
1 parent 65fd305 commit 6349a39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypyc/lib-rt/librt_base64.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ b64decode(PyObject *self, PyObject *const *args, size_t nargs) {
253253

254254
static PyMethodDef librt_base64_module_methods[] = {
255255
#ifdef MYPYC_EXPERIMENTAL
256-
{"b64encode", (PyCFunction)b64encode, METH_FASTCALL, PyDoc_STR("Encode bytes-like object using Base64.")},
257-
{"b64decode", (PyCFunction)b64decode, METH_FASTCALL, PyDoc_STR("Decode bytes-like object using Base64.")},
256+
{"b64encode", (PyCFunction)b64encode, METH_FASTCALL, PyDoc_STR("Encode bytes object using Base64.")},
257+
{"b64decode", (PyCFunction)b64decode, METH_FASTCALL, PyDoc_STR("Decode a Base64 encoded bytes object or ASCII string.")},
258258
#endif
259259
{NULL, NULL, 0, NULL}
260260
};
@@ -298,7 +298,7 @@ static PyModuleDef_Slot librt_base64_module_slots[] = {
298298
static PyModuleDef librt_base64_module = {
299299
.m_base = PyModuleDef_HEAD_INIT,
300300
.m_name = "base64",
301-
.m_doc = "base64 encoding and decoding optimized for mypyc",
301+
.m_doc = "Fast base64 encoding and decoding optimized for mypyc",
302302
.m_size = 0,
303303
.m_methods = librt_base64_module_methods,
304304
.m_slots = librt_base64_module_slots,

0 commit comments

Comments
 (0)