Skip to content

Commit 5360656

Browse files
fix expected
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
1 parent 0bf3eeb commit 5360656

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/api/python/z3/z3.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -6798,7 +6798,7 @@ def __len__(self):
67986798
sat
67996799
>>> st = s.statistics()
68006800
>>> len(st)
6801-
6
6801+
7
68026802
"""
68036803
return int(Z3_stats_size(self.ctx.ref(), self.stats))
68046804

@@ -6812,11 +6812,11 @@ def __getitem__(self, idx):
68126812
sat
68136813
>>> st = s.statistics()
68146814
>>> len(st)
6815-
6
6815+
7
68166816
>>> st[0]
68176817
('nlsat propagations', 2)
68186818
>>> st[1]
6819-
('nlsat stages', 2)
6819+
('nlsat restarts', 1)
68206820
"""
68216821
if idx >= len(self):
68226822
raise IndexError
@@ -10220,7 +10220,7 @@ def FPs(names, fpsort, ctx=None):
1022010220
>>> x.ebits()
1022110221
8
1022210222
>>> fpMul(RNE(), fpAdd(RNE(), x, y), z)
10223-
x + y * z
10223+
(x + y) * z
1022410224
"""
1022510225
ctx = _get_ctx(ctx)
1022610226
if isinstance(names, str):

0 commit comments

Comments
 (0)