gcc/libstdc++-v3/python
Jonathan Wakely b9e98bb991
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.
2024-10-16 10:09:16 +01:00
..
libstdcxx libstdc++: Fix Python deprecation warning in printers.py 2024-10-16 10:09:16 +01:00
hook.in Update copyright years. 2024-01-03 12:19:35 +01:00
Makefile.am Update copyright years. 2024-01-03 12:19:35 +01:00
Makefile.in