| 309 | # interface. |
| 310 | |
| 311 | class StringPassThrough(object): |
| 312 | def __init__(self, stream): |
| 313 | self.stream = stream |
| 314 | |
| 315 | def read(self, *args, **kwargs): |
| 316 | return self.stream.read(*args, **kwargs) |
| 317 | |
| 318 | dstr = StringPassThrough(StringIO('2014 January 19')) |
| 319 |
no outgoing calls