#NEWLINE# def merge_context( self , subject ) : #NEWLINE# #INDENT# " Merge the passed dictionary into the current `_context`\n\n        Arguments\n        ---------\n        subject : dict\n            The `dict` to merge into `_context`\n\n        Example\n        -------\n        >>> class FooView(ContextMixin):\n        ...     context = {\n        ...         'foo': 'bar',\n        ...     }\n        ...\n        >>> view = FooView()\n        >>> view.merge_context({'hello': 'world'})\n        >>> view.get_context()\n        {\n            'hello': 'world',\n            'foo': 'bar'\n        }\n\n        Returns\n        -------\n        dict\n            The new context\n\n        " #NEWLINE# context = self . get_context ( ) #NEWLINE# if subject : #NEWLINE# #INDENT# context = dict ( ( context . items ( ) + subject . items ( ) ) ) #NEWLINE# self . _context = context #NEWLINE# #UNINDENT# return context