03-fix-name.patch 619 B

12345678910111213141516171819202122
  1. --- contrib/python/numpy/py3/numpy/core/src/umath/_rational_tests.c (index)
  2. +++ contrib/python/numpy/py3/numpy/core/src/umath/_rational_tests.c (working tree)
  3. @@ -1106,8 +1106,8 @@ rational_ufunc_test_add_rationals(char** args, npy_intp const *dimensions,
  4. }
  5. }
  6. -
  7. -PyMethodDef module_methods[] = {
  8. +// XXX Arcadia confilct with contrib/python/pygit2
  9. +PyMethodDef rational_module_methods[] = {
  10. {0} /* sentinel */
  11. };
  12. @@ -1116,7 +1116,7 @@ static struct PyModuleDef moduledef = {
  13. "_rational_tests",
  14. NULL,
  15. -1,
  16. - module_methods,
  17. + rational_module_methods,
  18. NULL,
  19. NULL,
  20. NULL,