MCPcopy Create free account
hub / github.com/webpy/webpy / __init__

Method __init__

web/template.py:1354–1357  ·  view source on GitHub ↗

Initialize visitor by generating callbacks for all AST node types.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1352 """
1353
1354 def __init__(self, *args, **kwargs):
1355 "Initialize visitor by generating callbacks for all AST node types."
1356 super().__init__(*args, **kwargs)
1357 self.errors = []
1358
1359 def walk(self, tree, filename):
1360 "Validate each node in AST and raise SecurityError if the code is not safe."

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected