Skip to content

Commit 9f36d7c

Browse files
authored
docs: Add missing ClassVar import (#16962)
1 parent 87437b8 commit 9f36d7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/cheat_sheet_py3.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ Classes
152152

153153
.. code-block:: python
154154
155+
from typing import ClassVar
156+
155157
class BankAccount:
156158
# The "__init__" method doesn't return anything, so it gets return
157159
# type "None" just like any other method that doesn't return anything

0 commit comments

Comments
 (0)