Avoid using string literals in type annotations (#2294)

This commit is contained in:
Yusuke Miyazaki authored and Jelle Zijlstra committed 2018-07-02 20:23:29 -07:00
1 parent 25ad95de4f
commit 6192cce9d9
50 files changed
+175 -175

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
from _curses import _CursesWindow
class _Curses_Panel: # type is <class '_curses_panel.curses panel'> (note the space in the class name)
def above(self) -> '_Curses_Panel': ...
def below(self) -> '_Curses_Panel': ...
def above(self) -> _Curses_Panel: ...
def below(self) -> _Curses_Panel: ...
def bottom(self) -> None: ...
def hidden(self) -> bool: ...
def hide(self) -> None: ...