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.
| 1559 | |
| 1560 | |
| 1561 | class _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 | |
| 1580 | class _PythonFile(object): |