MCPcopy
hub / github.com/Python-Markdown/markdown / set

Method set

markdown/blockparser.py:59–61  ·  view source on GitHub ↗

Set a new state.

(self, state: Any)

Source from the content-addressed store, hash-verified

57 """
58
59 def set(self, state: Any):
60 """ Set a new state. """
61 self.append(state)
62
63 def reset(self) -> None:
64 """ Step back one step in nested state. """

Callers 15

runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
handleMatchMethod · 0.80
handleMatchMethod · 0.80
makeTagMethod · 0.80
makeTagMethod · 0.80
handleMatchMethod · 0.80
handleMatchMethod · 0.80
runMethod · 0.80
assign_attrsMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 7

testSetSateMethod · 0.64
testIsSateMethod · 0.64
testResetMethod · 0.64
testHtmlMethod · 0.64
testXhtmlMethod · 0.64
testQNameTagMethod · 0.64
testQNameAttributeMethod · 0.64