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

@@ -471,7 +471,7 @@ PyDoc_STRVAR(
" :type slot: int\n"
" :param format: The format that describes the content of a single channel.\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 data: Optional Buffer object to fill with the pixels values.\n"
" :type data: :class:`gpu.types.Buffer`\n"
" :return: The Buffer with the read pixels.\n"