File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ class object_api : public pyobject_tag {
105105 function will throw a `cast_error` exception. When the Python function
106106 call fails, a `error_already_set` exception is thrown.
107107 \endrst */
108- template <return_value_policy policy = return_value_policy::automatic_reference , typename ... Args>
108+ template <return_value_policy policy = return_value_policy::reference , typename ... Args>
109109 object operator ()(Args &&...args) const ;
110- template <return_value_policy policy = return_value_policy::automatic_reference , typename ... Args>
110+ template <return_value_policy policy = return_value_policy::reference , typename ... Args>
111111 PYBIND11_DEPRECATED (" call(...) was deprecated in favor of operator()(...)" )
112112 object call (Args&&... args) const ;
113113
You can’t perform that action at this time.
0 commit comments