MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / Error

Function Error

site-packages/matplotlib/mathtext.py:2191–2200  ·  view source on GitHub ↗

Helper class to raise parser errors.

(msg)

Source from the content-addressed store, hash-verified

2189# PARSER
2190
2191def Error(msg):
2192 """
2193 Helper class to raise parser errors.
2194 """
2195 def raise_error(s, loc, toks):
2196 raise ParseFatalException(s, loc, msg)
2197
2198 empty = Empty()
2199 empty.setParseAction(raise_error)
2200 return empty
2201
2202class Parser(object):
2203 """

Callers 1

__init__Method · 0.70

Calls 2

EmptyClass · 0.90
setParseActionMethod · 0.45

Tested by

no test coverage detected