diff options
| author | Tim Graham <timograham@gmail.com> | 2016-02-12 11:36:46 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-12 13:01:25 -0500 |
| commit | 004ba0f99eb25c3f32aa3a41707534e955d1878e (patch) | |
| tree | 74273e902b824f7288eac57ba961cbd4b572223c /docs/ref | |
| parent | 36f1f5cfb008c465f372389080cdd92671a6cab7 (diff) | |
Removed unneeded hint=None/obj=None in system check messages.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index de9633402f..c2849d5f74 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -17,7 +17,7 @@ API Reference ``CheckMessage`` ----------------- -.. class:: CheckMessage(level, msg, hint, obj=None, id=None) +.. class:: CheckMessage(level, msg, hint=None, obj=None, id=None) The warnings and errors raised by system checks must be instances of ``CheckMessage``. An instance encapsulates a single reportable error or @@ -60,11 +60,11 @@ There are subclasses to make creating messages with common levels easier. When using them you can omit the ``level`` argument because it is implied by the class name. -.. class:: Debug(msg, hint, obj=None, id=None) -.. class:: Info(msg, hint, obj=None, id=None) -.. class:: Warning(msg, hint, obj=None, id=None) -.. class:: Error(msg, hint, obj=None, id=None) -.. class:: Critical(msg, hint, obj=None, id=None) +.. class:: Debug(msg, hint=None, obj=None, id=None) +.. class:: Info(msg, hint=None, obj=None, id=None) +.. class:: Warning(msg, hint=None obj=None, id=None) +.. class:: Error(msg, hint=None, obj=None, id=None) +.. class:: Critical(msg, hint=None, obj=None, id=None) Builtin checks ============== |
