Skip to content

Commit c8262e2

Browse files
committed
Add some doscstrings
1 parent 417ffb1 commit c8262e2

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎mypyc/lib-rt/vecs/vec_nested.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ static PyMethodDef vec_methods[] = {
426426
PyTypeObject VecNestedBufType = {
427427
PyVarObject_HEAD_INIT(NULL, 0)
428428
.tp_name = "vecbuf",
429-
.tp_doc = "vec doc",
429+
.tp_doc = "Internal data buffer used by vec objects",
430430
.tp_basicsize = sizeof(VecNestedBufObject) - sizeof(VecNestedBufItem),
431431
.tp_itemsize = sizeof(VecNestedBufItem),
432432
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
@@ -440,7 +440,7 @@ PyTypeObject VecNestedBufType = {
440440
PyTypeObject VecNestedType = {
441441
PyVarObject_HEAD_INIT(NULL, 0)
442442
.tp_name = "vec",
443-
.tp_doc = "vec doc",
443+
.tp_doc = "Mutable sequence-like container optimized for compilation with mypyc",
444444
.tp_basicsize = sizeof(VecNestedObject) - sizeof(PyObject *),
445445
.tp_itemsize = sizeof(PyObject *),
446446
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,

‎mypyc/lib-rt/vecs/vec_t.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static PyMethodDef vec_methods[] = {
421421
PyTypeObject VecTBufType = {
422422
PyVarObject_HEAD_INIT(NULL, 0)
423423
.tp_name = "vecbuf",
424-
.tp_doc = "vec doc",
424+
.tp_doc = "Internal data buffer used by vec objects",
425425
.tp_basicsize = sizeof(VecTBufObject) - sizeof(PyObject *),
426426
.tp_itemsize = sizeof(PyObject *),
427427
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
@@ -435,7 +435,7 @@ PyTypeObject VecTBufType = {
435435
PyTypeObject VecTType = {
436436
PyVarObject_HEAD_INIT(NULL, 0)
437437
.tp_name = "vec",
438-
.tp_doc = "vec doc",
438+
.tp_doc = "Mutable sequence-like container optimized for compilation with mypyc",
439439
.tp_basicsize = sizeof(VecTObject),
440440
.tp_itemsize = 0,
441441
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,

‎mypyc/lib-rt/vecs/vec_template.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ static PyMethodDef vec_methods[] = {
356356
PyTypeObject BUF_TYPE = {
357357
PyVarObject_HEAD_INIT(NULL, 0)
358358
.tp_name = "vecbuf[" ITEM_TYPE_STR "]",
359-
.tp_doc = "vec doc",
359+
.tp_doc = "Internal data buffer used by vec objects",
360360
.tp_basicsize = sizeof(BUF_OBJECT) - sizeof(ITEM_C_TYPE),
361361
.tp_itemsize = sizeof(ITEM_C_TYPE),
362362
.tp_flags = Py_TPFLAGS_DEFAULT,
@@ -367,7 +367,7 @@ PyTypeObject BUF_TYPE = {
367367
PyTypeObject VEC_TYPE = {
368368
PyVarObject_HEAD_INIT(NULL, 0)
369369
.tp_name = "vec[" ITEM_TYPE_STR "]",
370-
.tp_doc = "vec doc",
370+
.tp_doc = "Mutable sequence-like container optimized for compilation with mypyc",
371371
.tp_basicsize = sizeof(VEC_OBJECT),
372372
.tp_itemsize = 0,
373373
.tp_flags = Py_TPFLAGS_DEFAULT,

0 commit comments

Comments
 (0)