@@ -180,28 +180,30 @@ def pprint_thing(
180180 max_seq_items : int | None = None ,
181181) -> str :
182182 """
183- This function is the sanctioned way of converting objects
184- to a string representation and properly handles nested sequences.
183+ Convert object to a string representation, respecting display.precision for Real numbers.
185184
186185 Parameters
187186 ----------
188- thing : anything to be formatted
189- _nest_lvl : internal use only. pprint_thing() is mutually-recursive
190- with pprint_sequence, this argument is used to keep track of the
191- current nesting level, and limit it .
187+ thing : object
188+ Object to be formatted.
189+ _nest_lvl : int, default 0
190+ Internal use only. Current nesting level .
192191 escape_chars : list[str] or Mapping[str, str], optional
193- Characters to escape. If a Mapping is passed the values are the
194- replacements
192+ Characters to escape. If a Mapping is passed the values are the replacements.
195193 default_escapes : bool, default False
196- Whether the input escape characters replaces or adds to the defaults
194+ Whether the input escape characters replaces or adds to the defaults.
195+ quote_strings : bool, default False
196+ Whether to quote strings.
197197 max_seq_items : int or None, default None
198- Pass through to other pretty printers to limit sequence printing
198+ Pass through to other pretty printers to limit sequence printing.
199199
200200 Returns
201201 -------
202202 str
203+ String representation of the object.
203204 """
204205
206+
205207 def as_escaped_string (
206208 thing : Any , escape_chars : EscapeChars | None = escape_chars
207209 ) -> str :
0 commit comments