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