MCPcopy Create free account
hub / github.com/python/cpython / pre_render

Method pre_render

Tools/clinic/libclinic/converter.py:461–467  ·  view source on GitHub ↗

A second initialization function, like converter_init, called just before rendering. You are permitted to examine self.function here.

(self)

Source from the content-addressed store, hash-verified

459 return ""
460
461 def pre_render(self) -> None:
462 """
463 A second initialization function, like converter_init,
464 called just before rendering.
465 You are permitted to examine self.function here.
466 """
467 pass
468
469 def bad_argument(self, displayname: str, expected: str, *, limited_capi: bool, expected_literal: bool = True) -> str:
470 assert '"' not in expected

Callers 1

render_parametersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected