Skip to content

Commit

Permalink
Fixed doc string of 'ClosureCall' contract annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWeber42 committed Sep 30, 2017
1 parent 744b89a commit f1406f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/nagini_contracts/contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,9 @@ def CallSlotProof(call_slot: Callable[..., Any]) -> Callable[[Callable[..., None

def ClosureCall(call: Any, justification: Any) -> Any:
"""
Justifies a closure call by proving static dispatch (in contrast to using
a call slot).
Justifies a closure call through either
* a CallSlot (justification == the callslot instance)
* proofing static dispatch (justification == the static method)
"""
pass

Expand Down

0 comments on commit f1406f0

Please sign in to comment.