O'Reilly logo
  • Mark Rebuck thinks this is interesting:

def child_watch_func(children): print "List of Children %s" % children

From

Cover of Apache ZooKeeper Essentials

Note

Indentation matters with Python... this snippet is clearly not indented properly.