diff options
Diffstat (limited to 'flup')
-rw-r--r-- | flup/resolver/importingmodule.py | 3 | ||||
-rw-r--r-- | flup/resolver/module.py | 3 | ||||
-rw-r--r-- | flup/resolver/objectpath.py | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/flup/resolver/importingmodule.py b/flup/resolver/importingmodule.py index ba2c18c..b60d0d0 100644 --- a/flup/resolver/importingmodule.py +++ b/flup/resolver/importingmodule.py @@ -35,6 +35,9 @@ from resolver import * __all__ = ['ImportingModuleResolver'] +class NoDefault(object): + pass + class ImportingModuleResolver(Resolver): """ Constructor takes a directory name or a list of directories. Interprets diff --git a/flup/resolver/module.py b/flup/resolver/module.py index e0117a8..837f1e9 100644 --- a/flup/resolver/module.py +++ b/flup/resolver/module.py @@ -31,6 +31,9 @@ from resolver import * __all__ = ['ModuleResolver'] +class NoDefault(object): + pass + class ModuleResolver(Resolver): """ Exposes all top-level callables within a module. The module's __all__ diff --git a/flup/resolver/objectpath.py b/flup/resolver/objectpath.py index aa1b21a..9b74c3f 100644 --- a/flup/resolver/objectpath.py +++ b/flup/resolver/objectpath.py @@ -33,6 +33,9 @@ from resolver import * __all__ = ['ObjectPathResolver', 'expose'] +class NoDefault(object): + pass + class ObjectPathResolver(Resolver): """ Inspired by CherryPy <http://www.cherrypy.org/>. :) For an explanation |