Home | History | Annotate | Download | only in python2.7

Lines Matching full:instream

23     def __init__(self, instream=None, infile=None, posix=False):
24 if isinstance(instream, basestring):
25 instream = StringIO(instream)
26 if instream is not None:
27 self.instream = instream
30 self.instream = sys.stdin
57 % (self.instream, self.lineno)
69 self.filestack.appendleft((self.infile, self.instream, self.lineno))
71 self.instream = newstream
77 print 'shlex: pushing to stream %s' % (self.instream,)
81 self.instream.close()
82 (self.infile, self.instream, self.lineno) = self.filestack.popleft()
85 % (self.instream, self.lineno)
124 nextchar = self.instream.read(1)
145 self.instream.readline()
212 self.instream.readline()