mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-26 19:47:14 +08:00
curses: make names private that don't exist at runtime (#1308)
And add some missing return types
This commit is contained in:
committed by
Matthias Kramm
parent
14f7492fe0
commit
48796411ed
@@ -1,8 +1,6 @@
|
||||
import _curses
|
||||
from _curses import * # noqa: F403
|
||||
# Stubgen imports a python version of has_key only if it's not present
|
||||
# in _curses (which it is in this stub)
|
||||
# from .has_key import has_key as has_key
|
||||
|
||||
def initscr(): ...
|
||||
def initscr() -> _curses._CursesWindow: ...
|
||||
def start_color(): ...
|
||||
def wrapper(func, *args, **kwds): ...
|
||||
|
||||
Reference in New Issue
Block a user