Пример #1
0
 def is_default(cls):
     return (    SimpleType.is_default(cls)
             and cls.Attributes.min_len == String.Attributes.min_len
             and cls.Attributes.max_len == String.Attributes.max_len
             and cls.Attributes.pattern == String.Attributes.pattern)
Пример #2
0
 def is_default(cls):
     return (SimpleType.is_default(cls)
             and cls.Attributes.min_len == String.Attributes.min_len
             and cls.Attributes.max_len == String.Attributes.max_len
             and cls.Attributes.pattern == String.Attributes.pattern)