MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / sloppy_one_ref

Method sloppy_one_ref

tensorflow/tools/docs/parser.py:293–297  ·  view source on GitHub ↗
(match)

Source from the content-addressed store, hash-verified

291 string = re.sub(SYMBOL_REFERENCE_RE, strict_one_ref, string)
292
293 def sloppy_one_ref(match):
294 try:
295 return self._one_ref(match, relative_path_to_root)
296 except TFDocsError:
297 return match.group(0)
298
299 string = re.sub(AUTO_REFERENCE_RE, sloppy_one_ref, string)
300

Callers

nothing calls this directly

Calls 2

_one_refMethod · 0.95
groupMethod · 0.45

Tested by

no test coverage detected