org.python.modules
Class _weakref

java.lang.Object
  extended byorg.python.modules._weakref
All Implemented Interfaces:
ClassDictInit

public class _weakref
extends Object
implements ClassDictInit


Nested Class Summary
static class _weakref.AbstractReference
           
static class _weakref.CallableProxyType
           
static class _weakref.GlobalRef
           
static class _weakref.ProxyType
           
static class _weakref.ReferenceType
           
 
Field Summary
static PyObject ReferenceError
           
 
Constructor Summary
_weakref()
           
 
Method Summary
static void classDictInit(PyObject dict)
          Internal use only.
static PyObject empty__init__(PyObject[] arg, String[] kws)
           
static int getweakrefcount(PyObject o)
           
static PyList getweakrefs(PyObject o)
           
static _weakref.ProxyType proxy(PyObject object)
           
static _weakref.ProxyType proxy(PyObject object, PyObject callback)
           
static _weakref.ReferenceType ref(PyObject object)
           
static _weakref.ReferenceType ref(PyObject object, PyObject callback)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ReferenceError

public static PyObject ReferenceError
Constructor Detail

_weakref

public _weakref()
Method Detail

classDictInit

public static void classDictInit(PyObject dict)
                          throws PyIgnoreMethodTag
Internal use only. Do not call this method explicit.

Throws:
PyIgnoreMethodTag

empty__init__

public static PyObject empty__init__(PyObject[] arg,
                                     String[] kws)

ref

public static _weakref.ReferenceType ref(PyObject object)

ref

public static _weakref.ReferenceType ref(PyObject object,
                                         PyObject callback)

proxy

public static _weakref.ProxyType proxy(PyObject object)

proxy

public static _weakref.ProxyType proxy(PyObject object,
                                       PyObject callback)

getweakrefcount

public static int getweakrefcount(PyObject o)

getweakrefs

public static PyList getweakrefs(PyObject o)