(methodname)
return seqmethod
Makes a new function that proxies calls to `methodname` to the
        `entries` attribute of the instance on which the function is called as
        an instance method.
Makes a new function that proxies calls to `methodname` to the
        `entries` attribute of the instance on which the function is called as
        an instance method.
Makes a new function that proxies calls to methodname to the entries attribute of the instance on which the function is called as an instance method .
def make_sequence_method(methodname):
        """Makes a new function that proxies calls to `methodname` to the
        `entries` attribute of the instance on which the function is called as
        an instance method."""
        def seqmethod(self, *args, **kwargs):
            # Proxy these methods to self.entries.
            return getattr(self.entries, methodname)(*args, **kwargs)
        seqmethod.__name__ = methodname
        return seqmethod
def make_sequence_method ( methodname ) : def seqmethod ( self , * args , * * kwargs ) : # Proxy these methods to self.entries. return getattr ( self . entries , methodname ) ( * args , * * kwargs ) seqmethod . __name__ = methodname return seqmethod