- String2Key count is a single octet, so the

value must be constrained to the range
  0-255 inclusive
- reversed six.PY2/3 checks so six.PY2 is the special case
- singledispatch import now tries the one in functools if singledispatch is not installed
This commit is contained in:
Michael Greene
2016-01-12 14:22:41 -08:00
parent 890581880b
commit 3d5f878b08
5 changed files with 15 additions and 7 deletions

View File

@@ -5,7 +5,12 @@ import functools
import six
import warnings
from singledispatch import singledispatch
try:
from singledispatch import singledispatch
except ImportError:
from functools import singledispatch
from .errors import PGPError