From ed7fea3d6f7f374818adee895174f8b09d5da016 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 14 Jul 2017 23:18:13 +0100 Subject: [PATCH] catacomb/__init__.py: Rearrange the imports. Sort the ordinary Python imports into alphabetical order (by module name, rather than by import, if I'm only taking one or two symbols). Move the main extension import into its own section, because it's going to grow. (cherry picked from commit 378ceeef4e0663d913cb448c32022522d39e7848) --- catacomb/__init__.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/catacomb/__init__.py b/catacomb/__init__.py index 854f8fe..53d7cea 100644 --- a/catacomb/__init__.py +++ b/catacomb/__init__.py @@ -25,12 +25,16 @@ from __future__ import with_statement -import _base -import types as _types from binascii import hexlify as _hexify, unhexlify as _unhexify from contextlib import contextmanager as _ctxmgr -import sys as _sys from struct import pack as _pack +import sys as _sys +import types as _types + +###-------------------------------------------------------------------------- +### Import the main C extension module. + +import _base ###-------------------------------------------------------------------------- ### Basic stuff. -- 2.11.0