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 {
105
105
function will throw a `cast_error` exception. When the Python function
106
106
call fails, a `error_already_set` exception is thrown.
107
107
\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>
109
109
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>
111
111
PYBIND11_DEPRECATED (" call(...) was deprecated in favor of operator()(...)" )
112
112
object call (Args&&... args) const ;
113
113
You can’t perform that action at this time.
0 commit comments