py bindings: remove extraneous function assignment operation