File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -897,7 +897,16 @@ cdef class DatatypeSelector:
897
897
# ----------------------------------------------------------------------------
898
898
899
899
cdef class Op:
900
- """ Wrapper class for :cpp:class:`cvc5::api::Op`."""
900
+ """
901
+ A cvc5 operator.
902
+
903
+ An operator is a term that represents certain operators,
904
+ instantiated with its required parameters, e.g.,
905
+ a term of kind
906
+ :py:obj:`BITVECTOR_EXTRACT <Kind.BITVECTOR_EXTRACT>`.
907
+
908
+ Wrapper class for :cpp:class:`cvc5::Op`.
909
+ """
901
910
cdef c_Op cop
902
911
cdef TermManager tm
903
912
@@ -918,10 +927,10 @@ cdef class Op:
918
927
919
928
def getKind (self ):
920
929
"""
921
- :return: the kind of this operator.
930
+ :return: The kind of this operator.
922
931
"""
923
- return kind (< int > self .cop.getKind())
924
-
932
+ return Kind (< int > self .cop.getKind())
933
+
925
934
def isIndexed (self ):
926
935
"""
927
936
:return: True iff this operator is indexed.
You can’t perform that action at this time.
0 commit comments