Skip to content

Commit

Permalink
fix expected
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Aug 28, 2024
1 parent 0bf3eeb commit 5360656
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/python/z3/z3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6798,7 +6798,7 @@ def __len__(self):
sat
>>> st = s.statistics()
>>> len(st)
6
7
"""
return int(Z3_stats_size(self.ctx.ref(), self.stats))

Expand All @@ -6812,11 +6812,11 @@ def __getitem__(self, idx):
sat
>>> st = s.statistics()
>>> len(st)
6
7
>>> st[0]
('nlsat propagations', 2)
>>> st[1]
('nlsat stages', 2)
('nlsat restarts', 1)
"""
if idx >= len(self):
raise IndexError
Expand Down Expand Up @@ -10220,7 +10220,7 @@ def FPs(names, fpsort, ctx=None):
>>> x.ebits()
8
>>> fpMul(RNE(), fpAdd(RNE(), x, y), z)
x + y * z
(x + y) * z
"""
ctx = _get_ctx(ctx)
if isinstance(names, str):
Expand Down

0 comments on commit 5360656

Please sign in to comment.