execnb 0.1.10__tar.gz → 0.1.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: execnb
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: A description of your project
5
5
  Home-page: https://github.com/AnswerDotAI/execnb/
6
6
  Author: Jeremy Howard
@@ -0,0 +1 @@
1
+ __version__ = "0.1.11"
@@ -18,7 +18,7 @@ from IPython.core.interactiveshell import InteractiveShell, ExecutionInfo, Execu
18
18
  from IPython.core.displayhook import DisplayHook
19
19
  from IPython.utils.capture import capture_output
20
20
  from IPython.utils.text import strip_ansi
21
- from IPython.core.completer import IPCompleter,provisionalcompleter
21
+ from IPython.core.completer import IPCompleter,provisionalcompleter,Completer
22
22
  from IPython.core.hooks import CommandChainDispatcher
23
23
  from IPython.core.completerlib import module_completer
24
24
  from IPython.utils.strdispatch import StrDispatch
@@ -307,9 +307,9 @@ class SmartCompleter(IPCompleter):
307
307
  def __call__(self, c):
308
308
  if not c: return []
309
309
  with provisionalcompleter():
310
- return [o.text.rpartition('.')[-1]
311
- for o in self.completions(c, len(c))
312
- if o.type not in ('magic', 'path')]
310
+ res = [o.text.rpartition('.')[-1] for o in self.completions(c, len(c)) if o.type!='magic']
311
+ if res and res[0][-1]=='=': res = [o for o in res if o[-1]=='=']
312
+ return res
313
313
 
314
314
  # %% ../nbs/02_shell.ipynb
315
315
  @patch
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: execnb
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: A description of your project
5
5
  Home-page: https://github.com/AnswerDotAI/execnb/
6
6
  Author: Jeremy Howard
@@ -9,7 +9,7 @@ user = AnswerDotAI
9
9
  author = Jeremy Howard
10
10
  author_email = j@fast.ai
11
11
  branch = master
12
- version = 0.1.10
12
+ version = 0.1.11
13
13
  min_python = 3.7
14
14
  requirements = fastcore>=1.5.5 ipython
15
15
  dev_requirements = matplotlib Pillow mistletoe
@@ -1 +0,0 @@
1
- __version__ = "0.1.10"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes