diff options
| author | Diana Clarke <diana.joan.clarke@gmail.com> | 2012-11-19 19:06:47 -0500 |
|---|---|---|
| committer | Diana Clarke <diana.joan.clarke@gmail.com> | 2012-11-19 19:06:47 -0500 |
| commit | 648778afb2d8c3314dbad83438954d69dfa48b7b (patch) | |
| tree | aa42ab66439cf7f226c2afccde30fbc0f51f25c7 /lib/sqlalchemy/inspection.py | |
| parent | 80ece085260ecef3f0cb623e8873e3aec0b2a231 (diff) | |
| download | sqlalchemy-648778afb2d8c3314dbad83438954d69dfa48b7b.tar.gz | |
just a pep8 pass of lib/sqlalchemy/
Diffstat (limited to 'lib/sqlalchemy/inspection.py')
| -rw-r--r-- | lib/sqlalchemy/inspection.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/inspection.py b/lib/sqlalchemy/inspection.py index f9c345dce..905ec1e4d 100644 --- a/lib/sqlalchemy/inspection.py +++ b/lib/sqlalchemy/inspection.py @@ -33,6 +33,7 @@ in a forwards-compatible way. from . import util, exc _registrars = util.defaultdict(list) + def inspect(subject, raiseerr=True): """Produce an inspection object for the given target. @@ -73,6 +74,7 @@ def inspect(subject, raiseerr=True): type_) return ret + def _inspects(*types): def decorate(fn_or_cls): for type_ in types: @@ -84,5 +86,6 @@ def _inspects(*types): return fn_or_cls return decorate + def _self_inspects(*types): - _inspects(*types)(True)
\ No newline at end of file + _inspects(*types)(True) |
