Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ getvalue
Method
getvalue
Lib/test/test_argparse.py:49–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
47
'utf-8'
, newline=newline)
48
49
def
getvalue(self):
50
self.flush()
51
return
self.buffer.raw.getvalue().decode(
'utf-8'
)
52
53
54
class
StdStreamTest(unittest.TestCase):
Callers
15
test_print_file
Method · 0.95
_write
Method · 0.45
_handle_multipart
Method · 0.45
_handle_message_delivery_status
Method · 0.45
_handle_message
Method · 0.45
findCaller
Method · 0.45
_restoreStdout
Method · 0.45
_exc_info_to_string
Method · 0.45
test_delegation_of_close_to_non_generator
Method · 0.45
test_incrementaldecoder
Method · 0.45
test_streamreader
Method · 0.45
test_streamwriter
Method · 0.45
Calls
2
flush
Method · 0.45
decode
Method · 0.45
Tested by
no test coverage detected