third_party/blink/renderer/bindings/scripts/bind_gen/codegen_context.py
def make_copy(self, **kwargs):
        """
        Returns a copy of this context applying the updates given as the
        arguments.
        """
        for arg in kwargs.keys():
            assert arg in self._context_attrs, "Unknown argument: {}".format(
                arg)

        new_object = copy.copy(self)

        for attr, new_value in kwargs.items():
            old_value = getattr(self, attr)
            assert old_value is None or type(new_value) is type(old_value), (
                "Type mismatch at argument: {}".format(attr))
            setattr(new_object, self._internal_attr(attr), new_value)

        return new_object

        Returns a copy of this context applying the updates given as the
        arguments.
        
Returns a copy of this context applying the updates given as the
arguments.
Returns a copy of this context applying the updates given as the arguments .
def make_copy(self, **kwargs):
        for arg in kwargs.keys():
            assert arg in self._context_attrs, "Unknown argument: {}".format(
                arg)
        new_object = copy.copy(self)
        for attr, new_value in kwargs.items():
            old_value = getattr(self, attr)
            assert old_value is None or type(new_value) is type(old_value), (
                "Type mismatch at argument: {}".format(attr))
            setattr(new_object, self._internal_attr(attr), new_value)
        return new_object
def make_copy ( self , ** kwargs ) : for arg in kwargs . keys ( ) : assert arg in self . _context_attrs , "Unknown argument: {}" . format ( arg ) new_object = copy . copy ( self ) for attr , new_value in kwargs . items ( ) : old_value = getattr ( self , attr ) assert old_value is None or type ( new_value ) is type ( old_value ) , ( "Type mismatch at argument: {}" . format ( attr ) ) setattr ( new_object , self . _internal_attr ( attr ) , new_value ) return new_object
Returns a copy of this context applying the updates given as the
arguments.
Returns a copy of this context applying the updates given as the arguments .
"""
        Returns a copy of this context applying the updates given as the
        arguments.
        """
self