PyDoc: correct parameter doc-strings & exception message

This commit is contained in:
2022-09-17 22:17:05 +10:00
parent f8a3ec48e4
commit 57e4b6aefb
4 changed files with 6 additions and 6 deletions

View File

@@ -282,7 +282,7 @@ PyDoc_STRVAR(
"\n"
" :param format: The format that describes the content of a single item.\n"
" Possible values are `FLOAT`, `INT`, `UINT`, `UBYTE`, `UINT_24_8` and `10_11_11_REV`.\n"
" :type type: str\n"
" :type format: str\n"
" :arg value: sequence each representing the value to fill.\n"
" :type value: sequence of 1, 2, 3 or 4 values\n");
static PyObject *pygpu_texture_clear(BPyGPUTexture *self, PyObject *args, PyObject *kwds)