MCPcopy
hub / github.com/psf/black / run

Method run

src/blib2to3/pgen2/conv.py:49–53  ·  view source on GitHub ↗

Load the grammar tables from the text files written by pgen.

(self, graminit_h, graminit_c)

Source from the content-addressed store, hash-verified

47 """
48
49 def run(self, graminit_h, graminit_c):
50 """Load the grammar tables from the text files written by pgen."""
51 self.parse_graminit_h(graminit_h)
52 self.parse_graminit_c(graminit_c)
53 self.finish_off()
54
55 def parse_graminit_h(self, filename):
56 """Parse the .h file written by pgen. (Internal)

Callers 2

comment_bodyFunction · 0.80

Calls 3

parse_graminit_hMethod · 0.95
parse_graminit_cMethod · 0.95
finish_offMethod · 0.95

Tested by 1