Package web2py :: Package gluon :: Module validators :: Class IS_UPPER
[hide private]
[frames] | no frames]

Class IS_UPPER

source code

object --+    
         |    
 Validator --+
             |
            IS_UPPER

convert to upper case
>>> IS_UPPER()('abc')
('ABC', None)
>>> IS_UPPER()('ñ')
('\xc3\x91', None)


Instance Methods [hide private]
 
__call__(self, value) source code

Inherited from Validator: formatter

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__