reinstate function that was removed in 12bfbdffc57bbaf9a3de31e6a7acdc415eb9de72
reinstate function that was removed in 12bfbdffc57bbaf9a3de31e6a7acdc415eb9de72

bazelbuild/rules_python,bazelbuild/rules_python,bazelbuild/rules_python