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