MCPcopy
hub / github.com/pallets/click / flush

Method flush

src/click/utils.py:536–543  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

534 self.wrapped = wrapped
535
536 def flush(self) -> None:
537 try:
538 self.wrapped.flush()
539 except OSError as e:
540 import errno
541
542 if e.errno != errno.EPIPE:
543 raise
544
545 def __getattr__(self, attr: str) -> t.Any:
546 return getattr(self.wrapped, attr)

Callers 1

echoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected