py3: drop unused aliases to array.array which are replaced with bytearray
authorYuya Nishihara <yuya@tcha.org>
Sun, 12 Mar 2017 11:47:02 -0700
changeset 31360 37acdf027ae2
parent 31359 73b3bee8febe
child 31361 8a17c541177f
py3: drop unused aliases to array.array which are replaced with bytearray
mercurial/branchmap.py
mercurial/tags.py
--- a/mercurial/branchmap.py	Mon Mar 13 00:55:14 2017 +0530
+++ b/mercurial/branchmap.py	Sun Mar 12 11:47:02 2017 -0700
@@ -7,7 +7,6 @@
 
 from __future__ import absolute_import
 
-import array
 import struct
 
 from .node import (
@@ -23,7 +22,6 @@
     util,
 )
 
-array = array.array
 calcsize = struct.calcsize
 pack = struct.pack
 unpack = struct.unpack
--- a/mercurial/tags.py	Mon Mar 13 00:55:14 2017 +0530
+++ b/mercurial/tags.py	Sun Mar 12 11:47:02 2017 -0700
@@ -12,7 +12,6 @@
 
 from __future__ import absolute_import
 
-import array
 import errno
 
 from .node import (
@@ -28,8 +27,6 @@
     util,
 )
 
-array = array.array
-
 # Tags computation can be expensive and caches exist to make it fast in
 # the common case.
 #