Skip to content

Commit 5db031e

Browse files
committed
sync
1 parent 7b1ead0 commit 5db031e

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

src/api/python/cvc5.pxi

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,16 @@ cdef class DatatypeSelector:
880880
# ----------------------------------------------------------------------------
881881

882882
cdef class Op:
883-
"""Wrapper class for :cpp:class:`cvc5::api::Op`."""
883+
"""
884+
A cvc5 operator.
885+
886+
An operator is a term that represents certain operators,
887+
instantiated with its required parameters, e.g.,
888+
a term of kind
889+
:py:obj:`BITVECTOR_EXTRACT <Kind.BITVECTOR_EXTRACT>`.
890+
891+
Wrapper class for :cpp:class:`cvc5::Op`.
892+
"""
884893
cdef c_Op cop
885894
cdef TermManager tm
886895

@@ -901,10 +910,10 @@ cdef class Op:
901910

902911
def getKind(self):
903912
"""
904-
:return: the kind of this operator.
913+
:return: The kind of this operator.
905914
"""
906-
return kind(<int> self.cop.getKind())
907-
915+
return Kind(<int> self.cop.getKind())
916+
908917
def isIndexed(self):
909918
"""
910919
:return: True iff this operator is indexed.

0 commit comments

Comments
 (0)