Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
StreamWrapper Class Reference
Inheritance diagram for StreamWrapper:
Collaboration diagram for StreamWrapper:

Public Member Functions

"StreamWrapper" from_stream (cls, TextIO orig_stream)
 
str encoding (self)
 

Static Public Attributes

TextIO orig_stream
 

Detailed Description

Definition at line 343 of file misc.py.

Member Function Documentation

◆ encoding()

str encoding (   self)

Definition at line 355 of file misc.py.

355 def encoding(self) -> str: # type: ignore
356 return self.orig_stream.encoding
357
358
359@contextlib.contextmanager

References StreamWrapper.orig_stream.

Referenced by TestcaseFormatter.__init__(), HtmlFormatter._decodeifneeded(), HtmlFormatter._wrap_full(), ConsoleOptions.ascii_only(), IncrementalDecoder.decode(), Formatter.format(), NullFormatter.format(), TestcaseFormatter.format(), LatexFormatter.format_unencoded(), SvgFormatter.format_unencoded(), Response.json(), Console.options(), and Response.text().

Here is the caller graph for this function:

◆ from_stream()

"StreamWrapper" from_stream (   cls,
TextIO  orig_stream 
)

Definition at line 347 of file misc.py.

347 def from_stream(cls, orig_stream: TextIO) -> "StreamWrapper":
348 ret = cls()
349 ret.orig_stream = orig_stream
350 return ret
351
for i

References i.

Field Documentation

◆ orig_stream

TextIO orig_stream
static

Definition at line 344 of file misc.py.

Referenced by StreamWrapper.encoding().


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