File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 2222HARDCODED_SUBMODULES = {
2323 # Standard library submodules that are not detected by pkgutil.iter_modules
2424 # but can be imported, so should be proposed in completion
25- "collections" : ( "abc" ,) ,
26- "os" : ( "path" ,) ,
27- "xml.parsers.expat" : ( "errors" , "model" ) ,
25+ "collections" : [ "abc" ] ,
26+ "os" : [ "path" ] ,
27+ "xml.parsers.expat" : [ "errors" , "model" ] ,
2828}
2929
3030
Original file line number Diff line number Diff line change 2727 code_to_events ,
2828)
2929from _pyrepl .console import Event
30- from _pyrepl ._module_completer import (ImportParser , ModuleCompleter ,
31- HARDCODED_SUBMODULES )
32- from _pyrepl .readline import (ReadlineAlikeReader , ReadlineConfig ,
33- _ReadlineWrapper )
30+ from _pyrepl ._module_completer import (
31+ ImportParser ,
32+ ModuleCompleter ,
33+ HARDCODED_SUBMODULES ,
34+ )
35+ from _pyrepl .readline import (
36+ ReadlineAlikeReader ,
37+ ReadlineConfig ,
38+ _ReadlineWrapper ,
39+ )
3440from _pyrepl .readline import multiline_input as readline_multiline_input
3541
3642try :
You can’t perform that action at this time.
0 commit comments