Skip to content
Snippets Groups Projects
Commit 186c6df3 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

py3: bulk-replace 'const char*' format specifier passed to PyArg_ParseTuple*()

Perhaps we need this because 's' accepts a unicode string.

https://docs.python.org/3/c-api/arg.html#strings-and-buffers

Substituted using the following pattern with some manual fixes:
  '\b(PyArg_ParseTuple)\((\s*\w+,\s*)"([^"]+)"'
  '\b(PyArg_ParseTupleAndKeywords)\((\s*\w+,\s*\w+,\s*)"([^"]+)"'
parent 1f8c3fad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment