MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _read_char

Method _read_char

tools/python-3.11.9-amd64/Lib/netrc.py:29–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 self.pushback = []
28
29 def _read_char(self):
30 ch = self.instream.read(1)
31 if ch == "\n":
32 self.lineno += 1
33 return ch
34
35 def get_token(self):
36 if self.pushback:

Callers 1

get_tokenMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected