]> git.ipfire.org Git - thirdparty/tornado.git/commit
*: Use default argument for str.encode()
authorBen Darnell <ben@bendarnell.com>
Thu, 13 Jun 2024 18:43:57 +0000 (14:43 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 13 Jun 2024 18:43:57 +0000 (14:43 -0400)
commit6c4d751028fdb662e8167920c8aa47b88460da92
tree50ab052c6fcb4e4a25660cc1c54a2b9c71c9114c
parente98b09f1e52677b3ae04ad2314767ad1bfdc1ceb
*: Use default argument for str.encode()

I had missed that this became hard-coded to utf-8 in py3k,
instead of being overridable as in python 2.

Automated change with modified pyupgrade.
tornado/test/escape_test.py
tornado/test/httpserver_test.py
tornado/test/log_test.py