original_docstring: Function replacing new allowing to track instances.
  
              
docstring: Function replacing new allowing to track instances.
docstring_tokens: Function replacing new allowing to track instances .
code: def override_new(original_cls, *args, **kwargs):
              """Function replacing new allowing to track instances.
  
              """
              new = __weakref_cls__.__old_new__(__weakref_cls__, *args, **kwargs)
              self._refs.add(new)
              return new
code_tokens: def override_new ( original_cls , * args , ** kwargs ) : new = __weakref_cls__ . __old_new__ ( __weakref_cls__ , * args , ** kwargs ) self . _refs . add ( new ) return new
short_docstring: Function replacing new allowing to track instances.
short_docstring_tokens: Function replacing new allowing to track instances .
comment: """Function replacing new allowing to track instances.
  
              """