File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ class type_caster<void> : public type_caster<void_type> {
305
305
template <typename T>
306
306
using cast_op_type = void *&;
307
307
explicit operator void *&() { return value; }
308
- static constexpr auto name = const_name(" capsule " );
308
+ static constexpr auto name = const_name(" types.CapsuleType " );
309
309
310
310
private:
311
311
void *value = nullptr ;
@@ -1281,7 +1281,7 @@ struct handle_type_name<type> {
1281
1281
};
1282
1282
template <>
1283
1283
struct handle_type_name <capsule> {
1284
- static constexpr auto name = const_name(" capsule " );
1284
+ static constexpr auto name = const_name(" types.CapsuleType " );
1285
1285
};
1286
1286
template <>
1287
1287
struct handle_type_name <ellipsis> {
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def test_pointers(msg):
41
41
msg (excinfo .value )
42
42
== """
43
43
get_void_ptr_value(): incompatible function arguments. The following argument types are supported:
44
- 1. (arg0: capsule ) -> int
44
+ 1. (arg0: types.CapsuleType ) -> int
45
45
46
46
Invoked with: [1, 2, 3]
47
47
"""
You can’t perform that action at this time.
0 commit comments