{% extends "default/module.html.jinja2" %} {% block nav %}{% endblock %} {% block style_layout %}{% endblock %} {# We do a bit of hackery here: generated/events.py is automatically created by scripts/api-events.py, and then documented using a heavily customized style. #} {% if module.name == "events" %} {% macro module_name() %} {% endmacro %} {% macro view_source(doc) %} {% if doc.type == "function" %}
View Source {{ doc.source | dedent | highlight }}
{% endif %} {% endmacro %} {% macro is_public(doc) %} {% if doc.name != "__init__" %} {{ default_is_public(doc) }} {% endif %} {% endmacro %} {% macro class(cls) %}

{{ headerlink(cls) }} {{ cls.name.replace("_", " ") }}

{% endmacro %} {% endif %}