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

Class HorizontalRule

Lib/pydoc.py:921–927  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919
920 # Cute little class to pump out a horizontal rule between sections.
921 class HorizontalRule:
922 def __init__(self):
923 self.needone = 0
924 def maybe(self):
925 if self.needone:
926 push('<hr>\n')
927 self.needone = 1
928 hr = HorizontalRule()
929
930 # List the mro, if non-trivial.

Callers 2

docclassMethod · 0.70
docclassMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…