added _weakref mixins

This commit is contained in:
David Halter
2012-09-04 16:21:17 +02:00
parent 778899af86
commit b111c56b06
2 changed files with 21 additions and 0 deletions

View File

@@ -18,3 +18,16 @@ next(re.finditer('a', 'a')).start()
#? str()
re.sub('a', 'a')
# -----------------
# ref
# -----------------
import weakref
#? int()
weakref.proxy(1)
#? weakref.ref
weakref.ref(1)
#? int()
weakref.ref(1)()