Source

pyyaml / tests / data / recursive-set.recursive

1
2
3
4
5
6
7
try:
    set
except NameError:
    from sets import Set as set
value = set()
value.add(AnInstance(foo=value, bar=value))
value.add(AnInstance(foo=value, bar=value))