Mercurial > hg
changeset 37082:1a1d1c44b570
util: remove unused private constant '_hextochr'
The only user, _urlunquote(), was removed by 81d38478fced.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 22 Mar 2018 21:32:19 +0900 |
parents | 191cba70fe27 |
children | f99d64e8a4e4 |
files | mercurial/util.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Thu Mar 22 21:20:47 2018 +0900 +++ b/mercurial/util.py Thu Mar 22 21:32:19 2018 +0900 @@ -34,7 +34,6 @@ import signal import socket import stat -import string import subprocess import sys import tempfile @@ -3076,9 +3075,6 @@ """ return _booleans.get(s.lower(), None) -_hextochr = dict((a + b, chr(int(a + b, 16))) - for a in string.hexdigits for b in string.hexdigits) - class url(object): r"""Reliable URL parser.