(Shortest import: from brian2 import weakproxy_with_fallback)
from brian2 import weakproxy_with_fallback)
brian2.core.base.
weakproxy_with_fallback
Attempts to create a weakproxy to the object, but falls back to the object if not possible.
weakproxy