#NEWLINE# def _edit( self , title = None , pageid = None , section = None , sectiontitle = None , text = None , token = None , summary = None , minor = None , notminor = None , bot = None , basetimestamp = None , starttimestamp = None , recreate = None , createonly = None , nocreate = None , watch = None , unwatch = None , watchlist = None , md5 = None , prependtext = None , appendtext = None , undo = None , undoafter = None , redirect = None , contentformat = None , contentmodel = None , assert_ = None , nassert = None , captchaword = None , captchaid = None ) : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# 'action' : 'edit' , #NEWLINE# #UNINDENT# } #NEWLINE# params [ 'title' ] = none_or ( title , str ) #NEWLINE# params [ 'pageid' ] = none_or ( pageid , int ) #NEWLINE# params [ 'section' ] = none_or ( section , int , levels = { 'new' } ) #NEWLINE# params [ 'sectiontitle' ] = none_or ( sectiontitle , str ) #NEWLINE# params [ 'text' ] = none_or ( text , str ) #NEWLINE# params [ 'token' ] = none_or ( token , str ) #NEWLINE# params [ 'summary' ] = none_or ( summary , str ) #NEWLINE# params [ 'minor' ] = none_or ( minor , bool ) #NEWLINE# params [ 'notminor' ] = none_or ( notminor , bool ) #NEWLINE# params [ 'bot' ] = none_or ( bot , bool ) #NEWLINE# params [ 'basetimestamp' ] = self . _check_timestamp ( basetimestamp ) #NEWLINE# params [ 'starttimestamp' ] = self . _check_timestamp ( starttimestamp ) #NEWLINE# params [ 'recreate' ] = none_or ( recreate , bool ) #NEWLINE# params [ 'createonly' ] = none_or ( createonly , bool ) #NEWLINE# params [ 'nocreate' ] = none_or ( nocreate , bool ) #NEWLINE# params [ 'watch' ] = none_or ( watch , bool ) #NEWLINE# params [ 'unwatch' ] = none_or ( unwatch , bool ) #NEWLINE# params [ 'watchlist' ] = none_or ( watchlist , bool ) #NEWLINE# params [ 'md5' ] = none_or ( md5 , str ) #NEWLINE# params [ 'prependtext' ] = none_or ( prependtext , str ) #NEWLINE# params [ 'appendtext' ] = none_or ( appendtext , str ) #NEWLINE# params [ 'undo' ] = none_or ( undo , int ) #NEWLINE# params [ 'undoafter' ] = none_or ( undoafter , int )