Skip to content
Snippets Groups Projects
Commit e8871f73 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Use | as separator when stringifying bitfields

parent 0b598cb5
No related branches found
No related tags found
1 merge request!100Multiple ORed values in CONSTANT_CLASSES.to_string
Pipeline #20109 passed with warnings
......@@ -1293,7 +1293,7 @@ def _add_functionality():
if attr == value or attr & value:
names.append(name)
if names:
return " ".join(names)
return " | ".join(names)
else:
for name in dir(cls):
if (not name.startswith("_")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment