Skip to content

Commit

Permalink
Added comment in curses.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccampbell committed Jan 6, 2024
1 parent 52b649c commit 47d1f8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/_curses.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ from typing import IO, Any, NamedTuple, final, overload
from typing_extensions import TypeAlias

# NOTE: This module is ordinarily only available on Unix, but the windows-curses
# package makes it available on Windows as well with the same types.
# package makes it available on Windows as well with the same contents.

# Handled by PyCurses_ConvertToChtype in _cursesmodule.c.
_ChType: TypeAlias = str | bytes | int
Expand Down
4 changes: 4 additions & 0 deletions stdlib/curses/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ from collections.abc import Callable
from typing import TypeVar
from typing_extensions import Concatenate, ParamSpec

# NOTE: The _curses module is ordinarily only available on Unix, but the
# windows-curses package makes it available on Windows as well with the same
# contents.

_T = TypeVar("_T")
_P = ParamSpec("_P")

Expand Down

0 comments on commit 47d1f8e

Please sign in to comment.