#NEWLINE# def __next__( self ) : #NEWLINE# #INDENT# info = List . __next__ ( self , full = True ) #NEWLINE# if ( info [ 'ns' ] == 14 ) : #NEWLINE# #INDENT# return Category ( self . site , '' , info ) #NEWLINE# #UNINDENT# if ( self [ 'ns' ] == 6 ) : #NEWLINE# #INDENT# return mwclient . image . Image ( self . site , '' , info ) #NEWLINE# #UNINDENT# return mwclient . page . Page ( self . site , '' , info )