• Jason Rhinelander's avatar
    Implement reference_internal with a keep_alive · f2ecd892
    Jason Rhinelander authored
    reference_internal requires an `instance` field to track the returned
    reference's parent, but that's just a duplication of what
    keep_alive<0,1> does, so use a keep alive to do this to eliminate the
    duplication.
    f2ecd892
issues.py 2.3 KB