refactor Request.submit() to make debugging easier, allows printing a Request object to see what will actually be sent to the API server.
refactor Request.submit() to make debugging easier, allows printing a Request object to see what will actually be sent to the API server.

pywikibot/core-migration-example