diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-07 22:36:21 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-11-07 22:36:21 +0000 |
| commit | cfca625e9445f9c52fe20c6542dd7268f2c55b6d (patch) | |
| tree | 7ef8bba43e4b12757cb991519f56ec9c874212f4 /lib/sqlalchemy/util.py | |
| parent | f4db07281554b1ccf2588f4996db98a2c9c82122 (diff) | |
| download | sqlalchemy-cfca625e9445f9c52fe20c6542dd7268f2c55b6d.tar.gz | |
docstring updates
Diffstat (limited to 'lib/sqlalchemy/util.py')
| -rw-r--r-- | lib/sqlalchemy/util.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index 1a153ce55..68cd4adc6 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -225,9 +225,10 @@ def get_cls_kwargs(cls): """Return the full set of inherited kwargs for the given `cls`. Probes a class's __init__ method, collecting all named arguments. If the - __init__ defines a **kwargs catch-all, then the constructor is presumed to + __init__ defines a \**kwargs catch-all, then the constructor is presumed to pass along unrecognized keywords to it's base classes, and the collection process is repeated recursively on each of the bases. + """ for c in cls.__mro__: @@ -411,7 +412,7 @@ def asbool(obj): return bool(obj) def coerce_kw_type(kw, key, type_, flexi_bool=True): - """If 'key' is present in dict 'kw', coerce its value to type 'type_' if + """If 'key' is present in dict 'kw', coerce its value to type 'type\_' if necessary. If 'flexi_bool' is True, the string '0' is considered false when coercing to boolean. """ |
