MCPcopy Create free account
hub / github.com/ipython/ipython / _find_ext

Method _find_ext

IPython/core/display.py:1319–1326  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

1317 return self._data_and_metadata()
1318
1319 def _find_ext(self, s):
1320 base, ext = splitext(s)
1321
1322 if not ext:
1323 return base
1324
1325 # `splitext` includes leading period, so we skip it
1326 return ext[1:].lower()
1327
1328
1329class Video(DisplayObject):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected