Skip to content
Snippets Groups Projects
Commit e6508d1e authored by Matt Harbison's avatar Matt Harbison
Browse files

win32mbcs: use str for encoding value

This was reported to the TortoiseHg tracker as:
mercurial/tortoisehg/thg#5980

It doesn't look like we have any tests for this extension, but the explicit
type hints are enough to convince pytype that the module level `_encoding` attr
is str.  The `encode()` and `decode()` methods are too complex to add type hints
for them.
parent 45ba8416
No related branches found
No related tags found
2 merge requests!909branching: merge stable into default post 6.8.1,!885win32mbcs: use str for encoding value
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