update doc/api_example.py