parameters: (self)
docstring: Returns the current active object being proxied to
  
          In the event that no object was pushed, the default object if
          provided will be used. Otherwise, a TypeError will be raised.
docstring_summary: Returns the current active object being proxied to
docstring_tokens: Returns the current active object being proxied to
function: def _current_obj(self):
          """Returns the current active object being proxied to
  
          In the event that no object was pushed, the default object if
          provided will be used. Otherwise, a TypeError will be raised.
  
          """
          try:
              objects = self.____local__.objects
          except AttributeError:
              objects = None
          if objects:
              return objects[-1]
          else:
              obj = self.__dict__.get('____default_object__', NoDefault)
              if obj is not NoDefault:
                  return obj
              else:
                  raise TypeError(
                      'No object (name: %s) has been registered for this '
                      'thread' % self.____name__)
function_tokens: def _current_obj ( self ) : try : objects = self . ____local__ . objects except AttributeError : objects = None if objects : return objects [ - 1 ] else : obj = self . __dict__ . get ( '____default_object__' , NoDefault ) if obj is not NoDefault : return obj else : raise TypeError ( 'No object (name: %s) has been registered for this ' 'thread' % self . ____name__ )