Skip to content

Commit bd02e08

Browse files
committed
sync
1 parent fc4c3ba commit bd02e08

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/api/python/cvc5.pxi

+13-4
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,16 @@ cdef class DatatypeSelector:
897897
# ----------------------------------------------------------------------------
898898

899899
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+
"""
901910
cdef c_Op cop
902911
cdef TermManager tm
903912

@@ -918,10 +927,10 @@ cdef class Op:
918927

919928
def getKind(self):
920929
"""
921-
:return: the kind of this operator.
930+
:return: The kind of this operator.
922931
"""
923-
return kind(<int> self.cop.getKind())
924-
932+
return Kind(<int> self.cop.getKind())
933+
925934
def isIndexed(self):
926935
"""
927936
:return: True iff this operator is indexed.

0 commit comments

Comments
 (0)