MCPcopy Index your code
hub / github.com/google/python-fire / GetEncoding

Method GetEncoding

fire/console/console_attr.py:421–423  ·  view source on GitHub ↗

Returns the current encoding.

(self)

Source from the content-addressed store, hash-verified

419 return n
420
421 def GetEncoding(self):
422 """Returns the current encoding."""
423 return self._encoding
424
425 def GetFontCode(self, bold=False, italic=False):
426 """Returns a font code string for 0 or more embellishments.

Callers 5

GetConsoleAttrFunction · 0.95
MoreFunction · 0.80
SafeTextFunction · 0.80
EncodeToBytesFunction · 0.80
DecodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected