1. Kirill Simonov
  2. pyyaml

Source

pyyaml / tests / data / recursive-dict.recursive

1
2
3
value = {}
instance = AnInstance(value, value)
value[instance] = instance