On this page
  1. weakref.ReferenceType
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

weakref.ReferenceType

Prev: weakref.ref | Up: weakref | Next: weakref.WeakKeyDictionary
Rel: weakref.CallableProxyType, weakref.finalize, weakref.getweakrefcount, weakref.getweakrefs
Ref: docs.python.org — weakref.ReferenceType
Tags: #public #python3 #stdlib #weakref


Import

import weakref
from weakref import ReferenceType

Signature & Overview

weakref.ReferenceType(...)

weakref.ReferenceType class.

Usage

import weakref

assert weakref.ReferenceType is weakref.ref

Gotchas

REPL Inspect

from weakref import ReferenceType
help(ReferenceType)

Linked from

Related notes