Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
click._compat._FixupStream Class Reference

Public Member Functions

 __init__ (self, t.BinaryIO stream, bool force_readable=False, bool force_writable=False)
 
t.Any __getattr__ (self, str name)
 
bytes read1 (self, int size)
 
bool readable (self)
 
bool writable (self)
 
bool seekable (self)
 

Protected Attributes

 _stream
 
 _force_readable
 
 _force_writable
 

Detailed Description

The new io interface needs more from streams than streams
traditionally implement.  As such, this fix-up code is necessary in
some circumstances.

The forcing of readable and writable flags are there because some tools
put badly patched objects on sys (one such offender are certain version
of jupyter notebook).

The documentation for this class was generated from the following file: