Skip to content

Commit

Permalink
Removed redundant code from custom_stubgen.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Schneider committed Sep 25, 2023
1 parent ff4b22f commit 63c1e98
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_stubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ def inner(match, _alternative_type=alternative_type):
"Affine": "RobotPose",
}

pybind11_stubgen.StubsGenerator.GLOBAL_CLASSNAME_REPLACEMENTS[
re.compile("(Condition)")
] = add_union("bool")

pybind11_stubgen.StubsGenerator.GLOBAL_CLASSNAME_REPLACEMENTS.update({
re.compile("({})".format(orig_type)): add_union(alt_type)
for alt_type, orig_type in implicit_conversions.items()
Expand Down

0 comments on commit 63c1e98

Please sign in to comment.