python: update to reflect the last API change
5 files changed