Skip to content

Commit d93c237

Browse files
authored
[PyMySQL] Fix the type of Cursor.description (#16707)
1 parent e018118 commit d93c237

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎stubs/PyMySQL/pymysql/cursors.pyi‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import re
2+
from _typeshed import MaybeNone
23
from collections.abc import Iterable, Iterator
34
from typing import Any, ClassVar, TypeAlias, overload
45
from typing_extensions import Self, deprecated
@@ -11,7 +12,7 @@ _Args: TypeAlias = list[Any] | tuple[Any, ...] | dict[str, Any]
1112
class Cursor:
1213
max_stmt_length: ClassVar[int]
1314
connection: Connection[Any]
14-
description: tuple[str, ...]
15+
description: tuple[tuple[str, int, None, int, int, int, bool], ...] | MaybeNone
1516
rownumber: int
1617
rowcount: int
1718
arraysize: int

0 commit comments

Comments
 (0)