Revision control

Copy as Markdown

Other Tools

class {{ protocol_name }}(typing.Protocol):
{%- call py::docstring_value(protocol_docstring, 4) %}
{%- for meth in methods.iter() %}
def {{ meth.name() }}(self, {% call py::arg_list_decl(meth) %}):
{%- call py::docstring(meth, 8) %}
raise NotImplementedError
{%- else %}
pass
{%- endfor %}