class {{ class_name }}({{ class_type }}):
{%- if constraint.lowerEndpoint and constraint.upperEndpoint and constraint.extensionMarker %}
    subtypeSpec = ValueSize({{ constraint.lowerEndpoint }}, {{ constraint.upperEndpoint }}, extensionMarker=True)
{%- elif constraint.lowerEndpoint and constraint.upperEndpoint %}
    subtypeSpec = ValueSize({{ constraint.lowerEndpoint }}, {{ constraint.upperEndpoint }})
{%- else %}
    pass
{%- endif %}



