mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
micropython.qstr_info: Clean up docstring.
Say the same with less words. Also add one line from elsewhere in the MicroPython docs to explain what this is about.
This commit is contained in:
@@ -91,12 +91,13 @@ def qstr_info(verbose: Any) -> None:
|
||||
|
||||
def qstr_info(*args):
|
||||
"""
|
||||
Print information about currently interned strings. If the ``verbose``
|
||||
argument is given then extra information is printed.
|
||||
Prints how many strings are interned and how much RAM they use.
|
||||
|
||||
The information that is printed is implementation dependent, but currently
|
||||
includes the number of interned strings and the amount of RAM they use. In
|
||||
verbose mode it prints out the names of all RAM-interned strings.
|
||||
MicroPython uses string interning to save both RAM and ROM.
|
||||
This avoids having to store duplicate copies of the same string.
|
||||
|
||||
If the ``verbose`` argument is given it also prints out the names of all
|
||||
RAM-interned strings.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user