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

Class StringPassThrough

tests/test_parser.py:309–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307 # interface.
308
309 class StringPassThrough:
310 def __init__(self, stream):
311 self.stream = stream
312
313 def read(self, *args, **kwargs):
314 return self.stream.read(*args, **kwargs)
315
316 dstr = StringPassThrough(StringIO('2014 January 19'))
317

Callers 1

test_duck_typingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_duck_typingMethod · 0.68