We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3f3d9 commit b3b74b8Copy full SHA for b3b74b8
bpython/cli.py
@@ -1940,7 +1940,7 @@ def main_curses(
1940
args: List[str],
1941
config: Config,
1942
interactive: bool = True,
1943
- locals_: Optional[MutableMapping[str, str]] = None,
+ locals_: Optional[Dict[str, Any]] = None,
1944
banner: Optional[str] = None,
1945
) -> Tuple[Tuple[Any, ...], str]:
1946
"""main function for the curses convenience wrapper
bpython/repl.py
@@ -48,7 +48,6 @@
48
Optional,
49
Type,
50
Union,
51
- MutableMapping,
52
Callable,
53
Dict,
54
TYPE_CHECKING,
@@ -109,7 +108,7 @@ class Interpreter(code.InteractiveInterpreter):
109
108
110
def __init__(
111
self,
112
- locals: Optional[MutableMapping[str, Any]] = None,
+ locals: Optional[Dict[str, Any]] = None,
113
) -> None:
114
"""Constructor.
115
0 commit comments