55# The MIT License (MIT)
66#
77# Copyright (c) 2017-2020 Kestrel Technology LLC
8- # Copyright (c) 2021-2022 Henny Sipma
9- # Copyright (c) 2023 Aarno Labs LLC
8+ # Copyright (c) 2021-2022 Henny B. Sipma
9+ # Copyright (c) 2023-2024 Aarno Labs LLC
1010#
1111# Permission is hereby granted, free of charge, to any person obtaining a copy
1212# of this software and associated documentation files (the "Software"), to deal
2626# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2727# SOFTWARE.
2828# ------------------------------------------------------------------------------
29+ """External assumption on a function."""
2930
3031from typing import TYPE_CHECKING
3132
@@ -80,7 +81,7 @@ class LocalAssumptionType(AssumptionType):
8081 obligations. An example is assuming that a call to a function preserves all
8182 memory (e.g., does not free any memory).
8283
83- args[0]: index of predicate in predicate dictionary
84+ * args[0]: index of predicate in predicate dictionary
8485 """
8586
8687 def __init__ (self , pod : "CFunPODictionary" , ixval : IndexedTableValue
@@ -108,7 +109,7 @@ class ApiAssumptionType(AssumptionType):
108109
109110 The index of the predicate is also used as the api-id for the assumption.
110111
111- args[0]: index of predicate in predicate dictionary
112+ * args[0]: index of predicate in predicate dictionary
112113 """
113114
114115 def __init__ (self , pod : "CFunPODictionary" , ixval : IndexedTableValue
@@ -141,7 +142,7 @@ class GlobalApiAssumptionType(AssumptionType):
141142 value locally (assuming no concurrency, or a form of ownership of the global
142143 variable throughout function execution.
143144
144- args[0]: index of predicate in predicate dictionary
145+ * args[0]: index of predicate in predicate dictionary
145146 """
146147
147148 def __init__ (self , pod : "CFunPODictionary" , ixval : IndexedTableValue
@@ -168,8 +169,8 @@ class PostconditionType(AssumptionType):
168169 these types of assumption are usually introduced by means of an externally
169170 provided contract.
170171
171- args[0]: vid of the callee (local file vid)
172- args[1]: index of xpredicate in interface dictionary
172+ * args[0]: vid of the callee (local file vid)
173+ * args[1]: index of xpredicate in interface dictionary
173174 """
174175
175176 def __init__ (self , pod : "CFunPODictionary" , ixval : IndexedTableValue
@@ -200,7 +201,7 @@ def __str__(self) -> str:
200201class GlobalAssumptionType (AssumptionType ):
201202 """Assumption that is asserted globally that is supported globally.
202203
203- args[0]: index of xpredicate in interfacedictionary
204+ * args[0]: index of xpredicate in interfacedictionary
204205 """
205206
206207 def __init__ (self , pod : "CFunPODictionary" , ixval : IndexedTableValue
0 commit comments