File tree Expand file tree Collapse file tree 7 files changed +8
-140
lines changed
source_py2/python_toolbox
source_py3/python_toolbox Expand file tree Collapse file tree 7 files changed +8
-140
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,5 @@ Python Toolbox includes third-party Python packages as subpackages that are used
2525 * `linecache2` by "Testing-cabal" and others, PSF license.
2626 * `traceback2` by "Testing-cabal" and others, PSF license.
2727 * `six` by Benjamin Peterson and others, MIT license.
28- * `ordereddict` by Raymond Hettinger and others, MIT license.
29- * `functools` by Python-dev and others, PSF license.
28+ * `functools` and `collections` by Python-dev and others, PSF license.
3029
Original file line number Diff line number Diff line change @@ -84,8 +84,7 @@ Python Toolbox includes third-party Python packages as subpackages that are used
8484 * ` linecache2 ` by "Testing-cabal" and others, PSF license.
8585 * ` traceback2 ` by "Testing-cabal" and others, PSF license.
8686 * ` six ` by Benjamin Peterson and others, MIT license.
87- * ` ordereddict ` by Raymond Hettinger and others, MIT license.
88- * ` functools ` by Python-dev and others, PSF license.
87+ * ` functools ` and ` collections ` by Python-dev and others, PSF license.
8988
9089
9190------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -25,5 +25,4 @@ Python Toolbox includes third-party Python packages as subpackages that are used
2525 * `linecache2` by "Testing-cabal" and others, PSF license.
2626 * `traceback2` by "Testing-cabal" and others, PSF license.
2727 * `six` by Benjamin Peterson and others, MIT license.
28- * `ordereddict` by Raymond Hettinger and others, MIT license.
29- * `functools` by Python-dev and others, PSF license.
28+ * `functools` and `collections` by Python-dev and others, PSF license.
Original file line number Diff line number Diff line change 55import collections
66import Queue as queue
77import multiprocessing .queues
8- import python_toolbox .third_party .ordereddict
8+ import python_toolbox .third_party .collections
99
1010
1111###############################################################################
@@ -29,7 +29,7 @@ class Ordered():
2929except AttributeError :
3030 # Python 2.6
3131 pass
32- Ordered .register (python_toolbox .third_party .ordereddict .OrderedDict )
32+ Ordered .register (python_toolbox .third_party .collections .OrderedDict )
3333Ordered .register (collections .deque )
3434Ordered .register (queue .Queue )
3535Ordered .register (multiprocessing .queues .Queue )
@@ -53,7 +53,7 @@ def __subclasshook__(cls, type_):
5353 OrderedDict = collections .OrderedDict
5454 except AttributeError :
5555 # Python 2.6
56- OrderedDict = python_toolbox .third_party .ordereddict .OrderedDict
56+ OrderedDict = python_toolbox .third_party .collections .OrderedDict
5757 if cls is DefinitelyUnordered and issubclass (type_ , OrderedDict ):
5858 return False
5959 else :
Original file line number Diff line number Diff line change 77try :
88 from collections import OrderedDict as StdlibOrderedDict
99except ImportError :
10- from python_toolbox .third_party .ordereddict import OrderedDict \
10+ from python_toolbox .third_party .collections import OrderedDict \
1111 as StdlibOrderedDict
1212
1313
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,6 +25,4 @@ Python Toolbox includes third-party Python packages as subpackages that are used
2525 * `linecache2` by "Testing-cabal" and others, PSF license.
2626 * `traceback2` by "Testing-cabal" and others, PSF license.
2727 * `six` by Benjamin Peterson and others, MIT license.
28- * `ordereddict` by Raymond Hettinger and others, MIT license.
29- * `functools` by Python-dev and others, PSF license.
30-
28+ * `functools` and `collections` by Python-dev and others, PSF license.
You can’t perform that action at this time.
0 commit comments