• Wenzel Jakob's avatar
    A few convenience functions for working with Python types · 96c10530
    Wenzel Jakob authored
    - Get a descriptive string after a Python exception (without changing the exception status)
    - Convenience function to map from a C++ object to a Python handle
    - Convenience to check if a pybind::function is defined by an underlying
      C++ implementation
    - Get the type object of a pybind::handle
    96c10530
common.h 6.64 KB