CLN: fix invalid python26 exception specification