mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
style
This commit is contained in:
parent
ff721ff136
commit
5efa5f5265
@ -5,7 +5,7 @@ from artiq.language.core import *
|
||||
from artiq.language.types import *
|
||||
|
||||
class c:
|
||||
kernel_invariants = {'a'}
|
||||
kernel_invariants = {"a"}
|
||||
|
||||
def __init__(self):
|
||||
self.a = 1
|
||||
|
@ -12,8 +12,8 @@ class c:
|
||||
def __repr__(self):
|
||||
return "<testbench.c object>"
|
||||
|
||||
i1 = c({'a', 'b'})
|
||||
i2 = c({'a'})
|
||||
i1 = c({"a", "b"})
|
||||
i2 = c({"a"})
|
||||
|
||||
@kernel
|
||||
def entrypoint():
|
||||
|
Loading…
Reference in New Issue
Block a user