Skip to content

Commit

Permalink
Merge pull request #197 from mainanick/package-level-import
Browse files Browse the repository at this point in the history
Allow classes, functions, exceptions to be conveniently imported from the package.
  • Loading branch information
nichochar authored Nov 3, 2018
2 parents 45fc36c + 8e15290 commit 87b933f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pymemcache/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
__version__ = '2.0.0'
__author__ = "Charles Gordon"

from pymemcache.client.base import Client # noqa
from pymemcache.client.base import PooledClient # noqa

from pymemcache.exceptions import MemcacheError # noqa
from pymemcache.exceptions import MemcacheClientError # noqa
from pymemcache.exceptions import MemcacheUnknownCommandError # noqa
from pymemcache.exceptions import MemcacheIllegalInputError # noqa
from pymemcache.exceptions import MemcacheServerError # noqa
from pymemcache.exceptions import MemcacheUnknownError # noqa
from pymemcache.exceptions import MemcacheUnexpectedCloseError # noqa

0 comments on commit 87b933f

Please sign in to comment.