libstdc++: Fix std::error_code pretty printer for versioned namespace
libstdc++-v3/ChangeLog: * python/libstdcxx/v6/printers.py (StdErrorCodePrinter): Strip versioned namespace from the type name that is printed.
This commit is contained in:
parent
7a2f2d91aa
commit
1918067e2d
@ -1522,7 +1522,7 @@ class StdErrorCodePrinter:
|
||||
|
||||
def __init__ (self, typename, val):
|
||||
self.val = val
|
||||
self.typename = typename
|
||||
self.typename = strip_versioned_namespace(typename)
|
||||
# Do this only once ...
|
||||
if StdErrorCodePrinter._errno_categories is None:
|
||||
StdErrorCodePrinter._errno_categories = ['generic']
|
||||
|
Loading…
Reference in New Issue
Block a user