Skip to content

Commit

Permalink
docs: Add missing ClassVar import (#16962)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao authored Mar 1, 2024
1 parent 87437b8 commit 9f36d7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/cheat_sheet_py3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ Classes

.. code-block:: python
from typing import ClassVar
class BankAccount:
# The "__init__" method doesn't return anything, so it gets return
# type "None" just like any other method that doesn't return anything
Expand Down

0 comments on commit 9f36d7c

Please sign in to comment.