ipykernel-helper 0.0.40__tar.gz → 0.0.41__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.4
2
2
  Name: ipykernel-helper
3
- Version: 0.0.40
3
+ Version: 0.0.41
4
4
  Summary: Helpers for ipykernel and friends
5
5
  Author-email: Jeremy Howard <info@fast.ai>
6
6
  License: Apache-2.0
@@ -0,0 +1,2 @@
1
+ __version__ = "0.0.41"
2
+ from .core import *
@@ -369,17 +369,17 @@ def _get_info(self:Inspector, obj, oname='', formatter=None, info=None, detail_l
369
369
  from IPython.core.ultratb import SyntaxTB
370
370
 
371
371
  # %% ../nbs/00_core.ipynb #eaa7a5e8
372
- @patch(once=True)
372
+ @patch()
373
373
  def structured_traceback(self:SyntaxTB, etype, evalue, etb, tb_offset=None, context=5):
374
374
  if hasattr(evalue, 'msg') and not isinstance(evalue.msg, str): evalue.msg = str(evalue.msg)
375
375
  return self._orig_structured_traceback(etype, evalue, etb, tb_offset=tb_offset, context=context)
376
376
 
377
377
  # %% ../nbs/00_core.ipynb #33cb1440
378
- @patch_to(inspect, nm="getfile", once=True)
378
+ @patch_to(inspect, nm="getfile")
379
379
  def _getfile(obj): return str(inspect._orig_getfile(obj))
380
380
 
381
381
  # %% ../nbs/00_core.ipynb #ff4984b9
382
- @patch(once=True)
382
+ @patch()
383
383
  async def run_cell_magic(self:InteractiveShell, magic_name, line, cell):
384
384
  result = self._orig_run_cell_magic(magic_name, line, cell)
385
385
  if inspect.iscoroutine(result): result = await result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ipykernel-helper
3
- Version: 0.0.40
3
+ Version: 0.0.41
4
4
  Summary: Helpers for ipykernel and friends
5
5
  Author-email: Jeremy Howard <info@fast.ai>
6
6
  License: Apache-2.0
@@ -1,2 +0,0 @@
1
- __version__ = "0.0.40"
2
- from .core import *