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

Method conv

Lib/annotationlib.py:408–414  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

406 extra_names = {}
407
408 def conv(obj):
409 if obj is None:
410 return None
411 new_obj, new_extra_names = self.__convert_to_ast(obj)
412 if new_extra_names is not None:
413 extra_names.update(new_extra_names)
414 return new_obj
415
416 return ast.Slice(
417 lower=conv(other.start),

Callers

nothing calls this directly

Calls 2

__convert_to_astMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected