Mercurial > hg
comparison contrib/bash_completion @ 43680:3364a15f61f0
typing: fix forward reference in _Tlocalstr type bound
AFAIK, a quoted string in type position is translated to its ForwardRef.
https://github.com/python/typing/issues/34
This fixes the following error:
File "mercurial/encoding.py", line 38, in <module>: Name 'localstr' is not
defined [name-error]
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 16 Nov 2019 15:10:41 +0900 |
parents | c54d4607e8aa |
children | f71c8eea7161 |
comparison
equal
deleted
inserted
replaced
43679:7cf332318f62 | 43680:3364a15f61f0 |
---|