#NEWLINE# def __init__( self , scheme = 'http' , netloc = 'localhost' , pathsegs = None , querysegs = None , fragment = None ) : #NEWLINE# #INDENT# self . scheme = scheme #NEWLINE# self . netloc = netloc #NEWLINE# if ( pathsegs is None ) : #NEWLINE# #INDENT# pathsegs = [ '' ] #NEWLINE# #UNINDENT# self . _qpathlist = pathsegs #NEWLINE# if ( netloc is None ) : #NEWLINE# #INDENT# querysegs = [ ] #NEWLINE# #UNINDENT# self . _querylist = querysegs #NEWLINE# if ( fragment is None ) : #NEWLINE# #INDENT# fragment = '' #NEWLINE# #UNINDENT# self . fragment = fragment