Docs (client config -> Python): Fix exception type in example

Again, a minor fix, but the example doesn't work when you copy & paste it.