curses: make names private that don't exist at runtime (#1308)

And add some missing return types
This commit is contained in:
Jelle Zijlstra authored and Matthias Kramm committed 2017-05-23 12:46:05 -07:00
1 parent 14f7492fe0
commit 48796411ed
2 files changed
+33 -35

No files matched your search

+2 -4
View File
@@ -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): ...