> How did the implementer of the "fileinput" module convince the "for" > construct that fileinput.input() was a sequence? If you implemented an object that implemented all the methods that a sequence implemented (or just the few that the for loop object cared about), would python know the difference? NO. Remember, Python has no real notion of types. C/