Skip to content

Commit

Permalink
Update Source/DafnyRuntime/DafnyRuntimePython/_dafny/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Fabio Madge <[email protected]>
  • Loading branch information
lucasmcdonald3 and fabiomadge authored Jan 23, 2025
1 parent a7c5a28 commit 2167e55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/DafnyRuntime/DafnyRuntimePython/_dafny/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ def __init__(self, iterable = None, isStr = False):
self.elems = iterable
self.len = len(iterable)
self.isStr = isStr
return
else:
self.elems = iterable if isinstance(iterable, Concat) else (list(iterable) if iterable is not None else [])
self.len = len(self.elems)
Expand Down

0 comments on commit 2167e55

Please sign in to comment.