Lines Matching refs:endswith
47 assert not filename.endswith('.c')
48 assert capi_vars[name].endswith('.c')
101 if name.endswith(('Type', '_Type', '_type')): # XXX Always a static type?
103 if name.endswith('_desc'): # for structseq types
107 name.endswith(('_doc', '__doc__', '_docstring')) or
108 name.endswith('_methods') or
109 name.endswith('_fields') or
110 name.endswith(('_memberlist', '_members')) or
111 name.endswith('_slots') or
112 name.endswith(('_getset', '_getsets', '_getsetlist')) or
113 name.endswith('_as_mapping') or
114 name.endswith('_as_number') or
115 name.endswith('_as_sequence') or
116 name.endswith('_as_buffer') or
117 name.endswith('_as_async')
122 if name.endswith(('_functions', 'Methods', '_Methods')):
128 return name.endswith(('module', '_Module'))
135 return name.endswith(('Error', 'Warning'))
141 name.endswith('_type') or
142 name.endswith('_singleton') or
143 name.endswith('_attributes')