MCPcopy Index your code
hub / github.com/python/cpython / fix_filename

Method fix_filename

Tools/c-analyzer/c_parser/info.py:321–325  ·  view source on GitHub ↗
(self, relroot=fsutil.USE_CWD, **kwargs)

Source from the content-addressed store, hash-verified

319 return self.parent.name
320
321 def fix_filename(self, relroot=fsutil.USE_CWD, **kwargs):
322 fixed = self.file.fix_filename(relroot, **kwargs)
323 if fixed == self.file:
324 return self
325 return self._replace(file=fixed)
326
327 def as_row(self, columns=None):
328 if not columns:

Callers

nothing calls this directly

Calls 2

fix_filenameMethod · 0.45
_replaceMethod · 0.45

Tested by

no test coverage detected