<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def insert_globals(self, *args, **kwargs):
 """ Appends or overwrites the supplied object in the self.extra_globals. objects and functions. Regular arguments are assumed to have a __name__ attribute (as is the case for functions) to use as the key, and keyword arguments will just be added as dictionary elements. """

        for a in args: kwargs[a.__name__] = a
        self.extra_globals.update(kwargs)