changeset 31360:37acdf027ae2

py3: drop unused aliases to array.array which are replaced with bytearray
author Yuya Nishihara <yuya@tcha.org>
date Sun, 12 Mar 2017 11:47:02 -0700
parents 73b3bee8febe
children 8a17c541177f
files mercurial/branchmap.py mercurial/tags.py
diffstat 2 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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.
 #