Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Add right-binding operator overloads#53

Closed
eric-wieser wants to merge 2 commits intoros:indigo-develfrom
eric-wieser:right-operators
Closed

Add right-binding operator overloads#53
eric-wieser wants to merge 2 commits intoros:indigo-develfrom
eric-wieser:right-operators

Conversation

@eric-wieser
Copy link
Copy Markdown
Contributor

This fixes #50, and makes ros/ros_comm#781 easier to fix

This fixes ros#50, and makes ros/ros_comm#781 easier to fix
instance, :class:`Time` if other is a :class:`Time`
"""
if isinstance(other, Time):
return other.__add__(self)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now gets handled by Time.__radd__

@dirk-thomas
Copy link
Copy Markdown
Member

Thank you for the patch. Merged to kinetic-devel in #63.

@dirk-thomas dirk-thomas closed this Jul 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants