gcc/libstdc++-v3/python
Jonathan Wakely bf88c9a154 libstdc++: Fix Python deprecation warning in printers.py
python/libstdcxx/v6/printers.py:1355: DeprecationWarning: 'count' is passed as positional argument

The Python docs say:

  Deprecated since version 3.13: Passing count and flags as positional
  arguments is deprecated. In future Python versions they will be
  keyword-only parameters.

Using a keyword argument for count only became possible with Python 3.1
so introduce a new function to do the substitution.

libstdc++-v3/ChangeLog:

	* python/libstdcxx/v6/printers.py (strip_fundts_namespace): New.
	(StdExpAnyPrinter, StdExpOptionalPrinter): Use it.

(cherry picked from commit b9e98bb991)
2024-10-16 21:00:02 +01:00
..
libstdcxx libstdc++: Fix Python deprecation warning in printers.py 2024-10-16 21:00:02 +01:00
Makefile.am Update copyright years. 2023-01-16 11:52:17 +01:00
Makefile.in libstdc++: Fix installation of python files for debug lib 2022-11-14 15:59:50 +00:00
hook.in Update copyright years. 2023-01-16 11:52:17 +01:00