The pprint for the super type.
(obj, p, cycle)
| 705 | |
| 706 | |
| 707 | def _super_pprint(obj, p, cycle): |
| 708 | """The pprint for the super type.""" |
| 709 | p.begin_group(8, '<super: ') |
| 710 | p.pretty(obj.__thisclass__) |
| 711 | p.text(',') |
| 712 | p.breakable() |
| 713 | if PYPY: # In PyPy, super() objects don't have __self__ attributes |
| 714 | dself = obj.__repr__.__self__ |
| 715 | p.pretty(None if dself is obj else dself) |
| 716 | else: |
| 717 | p.pretty(obj.__self__) |
| 718 | p.end_group(8, '>') |
| 719 | |
| 720 | |
| 721 |
nothing calls this directly
no test coverage detected
searching dependent graphs…