• Henry Schreiner's avatar
    feat: py::type::of<T>() and py::type::of(h) (#2364) · f12ec00d
    Henry Schreiner authored
    * feat: type<T>()
    
    * refactor: using py::type as class
    
    * refactor: py::object as base
    
    * wip: tigher api
    
    * refactor: fix conversion and limit API further
    
    * docs: some added notes from @EricCousineau-TRI
    
    * refactor: use py::type::of
    f12ec00d
test_class.py 11.5 KB