consistent in naming static method with py3.7 branch

parent 1cb4d8de7389
Pipeline #18746 passed with stage
in 5 minutes and 23 seconds