finish removing six

This commit is contained in:
Alexandre Detiste
2024-03-22 08:15:00 +01:00
committed by Scott Talbert
parent 323e78c085
commit 66a9320917
8 changed files with 18 additions and 21 deletions

View File

@@ -133,8 +133,6 @@ Version 0.1
import wx
import sys
import six
from wx.lib.embeddedimage import PyEmbeddedImage
zoombackgrey = PyEmbeddedImage(
@@ -375,7 +373,7 @@ class ZoomBarImage(object):
self._oldHeight = 0
self._vCenter = 0
self._hCenter = 0
self._oldInc = -six.MAXSIZE
self._oldInc = -sys.MAXSIZE
self._isSeparator = False
self._enabled = True

View File

@@ -41,12 +41,11 @@ import string
import types
import wx
import six
#----------------------------------------------------------------------------
MAXSIZE = six.MAXSIZE # (constants should be in upper case)
MINSIZE = -six.MAXSIZE-1
MAXSIZE = sys.maxsize # (constants should be in upper case)
MINSIZE = -sys.MAXSIZE-1
LONGTYPE = int
#----------------------------------------------------------------------------