parameters: (self, inname)
return_statement: return fobj
docstring: Returns the input file object
docstring_summary: Returns the input file object
docstring_tokens: Returns the input file object
function: def get_infile(self, inname):
          '''Returns the input file object'''
  
          if inname:
              print('Reading input from %s' % inname, file=sys.stderr)
              fobj = open(inname, 'rb')
              self.file_objects.append(fobj)
          else:
              print('Reading input from stdin', file=sys.stderr)
              fobj = sys.stdin
  
          return fobj
function_tokens: def get_infile ( self , inname ) : if inname : print ( 'Reading input from %s' % inname , file = sys . stderr ) fobj = open ( inname , 'rb' ) self . file_objects . append ( fobj ) else : print ( 'Reading input from stdin' , file = sys . stderr ) fobj = sys . stdin return fobj