def items(self):
        """
        A generator yielding ``(key, value)`` attribute pairs, sorted by key name.
        """
        for key in sorted(self.attrs):
            yield key, self.attrs[key]
def items(self):
        """
        A generator yielding ``(key, value)`` attribute pairs, sorted by key name.
        """
        for key in sorted(self.attrs):
            yield key, self.attrs[key]
def items ( self ) : for key in sorted ( self . attrs ) : yield key , self . attrs [ key ]
A generator yielding ``(key, value)`` attribute pairs, sorted by key name.
A generator yielding ( key value ) attribute pairs sorted by key name .