X Tutup
Skip to content

Commit 9e0feb3

Browse files
committed
Fix some type annotatations
1 parent a49c3a5 commit 9e0feb3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bpython/curtsies.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ class FullCurtsiesRepl(BaseRepl):
5555
def __init__(
5656
self,
5757
config: Config,
58-
locals_: Optional[Dict[str, Any]],
59-
banner: Optional[str],
60-
interp: code.InteractiveInterpreter = None,
58+
locals_: Optional[Dict[str, Any]] = None,
59+
banner: Optional[str] = None,
60+
interp: Optional[Interp] = None,
6161
) -> None:
6262
self.input_generator = curtsies.input.Input(
6363
keynames="curtsies", sigint_event=True, paste_threshold=None
@@ -182,10 +182,10 @@ def mainloop(
182182

183183

184184
def main(
185-
args: List[str] = None,
186-
locals_: Dict[str, Any] = None,
187-
banner: str = None,
188-
welcome_message: str = None,
185+
args: Optional[List[str]] = None,
186+
locals_: Optional[Dict[str, Any]] = None,
187+
banner: Optional[str] = None,
188+
welcome_message: Optional[str] = None,
189189
) -> Any:
190190
"""
191191
banner is displayed directly after the version information.

0 commit comments

Comments
 (0)
X Tutup