#NEWLINE# def path_info_peek( self ) : #NEWLINE# #INDENT# "\n        Returns the next segment on PATH_INFO, or None if there is no\n        next segment.  Doesn't modify the environment.\n        " #NEWLINE# path = self . path_info #NEWLINE# if ( not path ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# path = path . lstrip ( '/' ) #NEWLINE# return path . split ( '/' , 1 ) [ 0 ]