MCPcopy Create free account
hub / github.com/dateutil/dateutil / StringPassThrough

Class StringPassThrough

tests/test_parser.py:311–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

test_duck_typingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_duck_typingMethod · 0.68