Skip to content
Snippets Groups Projects

P2P

Open
Jammer, Timrequested to merge
p2p into main
2 files
+ 8
4
Compare changes
  • Side-by-side
  • Inline

Files

@@ -131,6 +131,8 @@ class InstructionBlock:
str: The operation specified by kind and index
"""
if index == 'all':
if kind not in self.operations:
return []
return self.operations[kind]
else:
as_int = int(index) # will Raise ValueError if not integer
Loading