DynamicCapabilityClient: fix crash due to wrong types

In the last commit touching this line, a ')' was put in the wrong place, leading to errors like this one:

```
  File "capnp/lib/capnp.pyx", line 2172, in capnp.lib.capnp._DynamicCapabilityClient.__dir__
TypeError: unsupported operand type(s) for +: 'set' and 'tuple'
```
This commit is contained in:
lewinb-corp
2023-10-20 12:48:19 +02:00
committed by Jacob Alexander
parent 7a4970605e
commit c9bea05f44

View File

@@ -2199,7 +2199,7 @@ cdef class _DynamicCapabilityClient:
return self._cached_schema return self._cached_schema
def __dir__(self): def __dir__(self):
return list(set(self.schema.method_names_inherited) + tuple(dir(self.__class__))) return list(set(self.schema.method_names_inherited + tuple(dir(self.__class__))))
cdef class _CapabilityClient: cdef class _CapabilityClient: