MCPcopy Index your code
hub / github.com/ipython/ipython / _normalized

Method _normalized

IPython/external/pickleshare.py:205–207  ·  view source on GitHub ↗

Make a key suitable for user's eyes

(self, p)

Source from the content-addressed store, hash-verified

203 pass
204
205 def _normalized(self, p):
206 """Make a key suitable for user's eyes"""
207 return str(p.relative_to(self.root)).replace("\\", "/")
208
209 def keys(self, globpat=None):
210 """All keys in DB, or all keys matching a glob"""

Callers 1

keysMethod · 0.95

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected