Tweak param docs for Form.set_validator()
				
					
				
			This commit is contained in:
		
							parent
							
								
									fe4a178d43
								
							
						
					
					
						commit
						da13254caa
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -742,9 +742,8 @@ class Form(object):
 | 
			
		|||
           case the validator pertains to the form at large instead of
 | 
			
		||||
           one of the fields.
 | 
			
		||||
 | 
			
		||||
           TODO: what should the validator look like?
 | 
			
		||||
 | 
			
		||||
        :param validator: Callable validator for the node.
 | 
			
		||||
        :param validator: Callable which accepts ``(node, value)``
 | 
			
		||||
           args.
 | 
			
		||||
        """
 | 
			
		||||
        self.validators[key] = validator
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue