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

Class _PythonBuiltin

tensorflow/tools/docs/parser.py:1561–1577  ·  view source on GitHub ↗

This class indicated that the object in question is a python builtin. This can be used for the `defined_in` slot of the `PageInfo` objects.

Source from the content-addressed store, hash-verified

1559
1560
1561class _PythonBuiltin(object):
1562 """This class indicated that the object in question is a python builtin.
1563
1564 This can be used for the `defined_in` slot of the `PageInfo` objects.
1565 """
1566
1567 def is_builtin(self):
1568 return True
1569
1570 def is_python_file(self):
1571 return False
1572
1573 def is_generated_file(self):
1574 return False
1575
1576 def __str__(self):
1577 return 'This is an alias for a Python built-in.\n\n'
1578
1579
1580class _PythonFile(object):

Callers 1

_get_defined_inFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected