ipykernel-helper 0.0.34__tar.gz → 0.0.35__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.34
3
+ Version: 0.0.35
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.35"
2
+ from .core import *
@@ -299,6 +299,7 @@ from IPython.display import TextDisplayObject,DisplayObject
299
299
  @patch
300
300
  def __repr__(self:DisplayObject):
301
301
  s = self.data or self.url or self.filename
302
+ if s is None: return None
302
303
  if not isinstance(s, str): s = truncstr(str(s), 30)
303
304
  return f"{type(self).__name__}({s})"
304
305
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ipykernel-helper
3
- Version: 0.0.34
3
+ Version: 0.0.35
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.34"
2
- from .core import *