summaryrefslogtreecommitdiff
path: root/git/compat.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-07 05:05:57 -0600
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-02-08 10:55:50 +0800
commitbdfd3fc5b4d892b79dfa86845fcde0acc8fc23a4 (patch)
tree766fbe8abed3f19e4788dab32e449288e15b26c6 /git/compat.py
parentec29b1562a3b7c2bf62e54e39dce18aebbb58959 (diff)
downloadgitpython-bdfd3fc5b4d892b79dfa86845fcde0acc8fc23a4.tar.gz
Remove and replace compat.bchr
Diffstat (limited to 'git/compat.py')
-rw-r--r--git/compat.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/git/compat.py b/git/compat.py
index ea441ec1..c53548fd 100644
--- a/git/compat.py
+++ b/git/compat.py
@@ -33,9 +33,6 @@ is_darwin = (os.name == 'darwin')
defenc = sys.getfilesystemencoding()
if PY3:
- def bchr(n):
- return bytes([n])
-
def mviter(d):
return d.values()
@@ -45,7 +42,6 @@ if PY3:
else:
if defenc == 'ascii':
defenc = 'utf-8'
- bchr = chr
unicode = unicode
binary_type = str
range = xrange # @ReservedAssignment