Example #1
0
 class Foo(object):
     x = my_attr.ib(default=sentinel)
Example #2
0
 class Point2(object):
     z = my_attr.ib()
     y = my_attr.ib()
     x = my_attr.ib()
Example #3
0
 class Point1(object):
     x = my_attr.ib()
     y = my_attr.ib()
     z = my_attr.ib()
Example #4
0
 class Foo(object):
     bar = my_attr.ib(default=None)
Example #5
0
 class Foo(object):
     bar = my_attr.ib(None)
Example #6
0
 class foo(object):
     bar = my_attr.ib(3)