> >>> help(weakref.ref) > Help on built-in function ref: > > ref(...) > new(object[, callback]) -- create a weak reference to 'object'; > when 'object' is finalized, 'callback' will be called and passed > a reference to 'object'. > ^^^^^^^^^^^^^^^^^^^^^^^ [...] > It appears that it's a reference to the weakref object that's passed, not ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I'm not sure if that's what was intended, but the documentation seems compliant with the current behavior. -- Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4