commit | eb4e11ae44c48bde77405584e8834d3ace57144b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon May 01 20:08:46 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon May 01 20:08:46 2000 +0000 |
tree | d7241b059c6f69e6ede74d68124ff390be1845da | |
parent | b16d197d661915bf16c84e06cb07e1f7a934ad10 [diff] |
Eric Raymond: Added and documented the capability for shlex to handle lexical-level inclusion and a stack of input sources. Also, the input stream member is now documented, and the constructor takes an optional source-filename. The class provides facilities to generate error messages that track file and line number. [GvR: I changed the __main__ code so that it actually stops at EOF, as Eric surely intended -- however it returned '' instead of the None he was testing for.]