Skip to content

Commit d775935

Browse files
author
Tim Schneider
committed
Removed redundant code from custom_stubgen.py
1 parent ff4b22f commit d775935

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

custom_stubgen.py

-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env python3
2-
32
import pybind11_stubgen
43
import re
54

@@ -18,10 +17,6 @@ def inner(match, _alternative_type=alternative_type):
1817
"Affine": "RobotPose",
1918
}
2019

21-
pybind11_stubgen.StubsGenerator.GLOBAL_CLASSNAME_REPLACEMENTS[
22-
re.compile("(Condition)")
23-
] = add_union("bool")
24-
2520
pybind11_stubgen.StubsGenerator.GLOBAL_CLASSNAME_REPLACEMENTS.update({
2621
re.compile("({})".format(orig_type)): add_union(alt_type)
2722
for alt_type, orig_type in implicit_conversions.items()

0 commit comments

Comments
 (0)