vine.five

vine.five

Compatibility implementations of features only available in newer Python versions.

vine.five.items(seq)
vine.five.with_metaclass(Type, skip_attrs=set([u'__dict__', u'__weakref__']))

Class decorator to set metaclass.

Works with both Python 2 and Python 3 and it does not add an extra class in the lookup order like six.with_metaclass does (that is – it copies the original class instead of using inheritance).