jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/428417 )
Change subject: [fix] charset is a keyword argument of request ......................................................................
[fix] charset is a keyword argument of request
Change-Id: I3dfc91da47bcded58509d153f0b3074c6d251ec6 --- M pywikibot/comms/http.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/comms/http.py b/pywikibot/comms/http.py index 0ac5187..4c096e0 100644 --- a/pywikibot/comms/http.py +++ b/pywikibot/comms/http.py @@ -285,7 +285,7 @@ @type site: L{pywikibot.site.BaseSite} @param uri: the URI to retrieve @type uri: str - @param charset: Either a valid charset (usable for str.decode()) or None + @keyword charset: Either a valid charset (usable for str.decode()) or None to automatically chose the charset from the returned header (defaults to latin-1) @type charset: CodecInfo, str, None
pywikibot-commits@lists.wikimedia.org