{% extends "base.html" %} {% block title %}{{ namespace.name }}.{{ constant.name }}{% endblock %} {% block meta_other %} {% endblock %} {% block sidebar %}
Constant
{% endblock %} {% block content %}

Constant

{{ namespace.name }}{{ constant.name }}

{%- if CONFIG.is_unstable(constant.available_since) -%} unstable  {%- endif %} {%- if constant.deprecated_since -%} deprecated: {{ constant.deprecated_since.version }}  {%- endif -%} {%- if constant.available_since -%} since: {{ constant.available_since }} {%- endif -%}

Declaration {% if CONFIG.source_location_url and constant.source_location %} [src] {% endif %}

{{ constant.c_decl }}

Description {% if CONFIG.source_location_url and constant.docs_location %} [src] {% endif %}

{{ constant.description }}
{% if constant.stability %}

Stability: {{ constant.stability }}

{% endif %} {% if constant.available_since %}

Available since: {{ constant.available_since }}

{% endif %} {% if constant.deprecated_since %} {%- if constant.deprecated_since.message -%}

Deprecated since: {{ constant.deprecated_since.version }}

{{ constant.deprecated_since.message }}
{%- else -%}

Deprecated since: {{ constant.deprecated_since.version }}. Do not use in newly written code.

{%- endif -%} {% endif %}
{% if constant.attributes %}
{% for (key, value) in constant.attributes.items()|sort %} {% endfor %}
{{ key|escape }}{{ value|escape }}
{% endif %}
{% endblock %}