'Clears the contents of the context.
All values are set to their defaults.
Arguments:
a: Arguments passed to ``update``
kw: Arguments passed to ``update``
Examples:
>>> # Default value
>>> context.clear()
>>> context.arch == \'i386\'
True
>>> context.arch = \'arm\'
>>> context.arch == \'i386\'
False
>>> context.clear()
>>> context.arch == \'i386\'
True'

def clear(self, *a, **kw):

    self._tls._current.clear()
    if (a or kw):
        self.update(*a, **kw)
