Open main menu

Changes

Relax source design

94 bytes added, 17:10, 6 November 2015
Added the Category:Infobox templates category.
{{lowercase title}}
 
{{stub}}
 
The following is a set of notes which will be used to design the layout of functions, modules, and packages in relax.
=== Design ===
The check_*() functions, via the Check object__call__() method, accept the 'escalate' keyword argument which can have the following values:
* 0 - This will simply cause the function to return True or False.
def check_aaa_func(a, b=None):
"""Check if aaa.
Note that the lib.checks.Check.__call__() method will take the escalate argument for itself and pass 'a' and 'b' into the 'check_aaa_func' function as arguments. The escalate argument defaults to 2.
 
== See also ==
 
[[Category:Development]]
Trusted, Bureaucrats
4,223

edits