Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implicitly inherit from object #106

Merged
merged 1 commit into from
Aug 28, 2017
Merged

Conversation

mikaelarguedas
Copy link
Member

In python 3 classes implicitely inherit from object, so no need to express inheritence except if the class inherits from something else.
Addresses #104 (comment)

@mikaelarguedas mikaelarguedas added the in progress Actively being worked on (Kanban column) label Aug 25, 2017
@mikaelarguedas mikaelarguedas changed the title implicitely inherit from object implicitly inherit from object Aug 25, 2017
@mikaelarguedas mikaelarguedas added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Aug 25, 2017
@@ -17,7 +17,7 @@
from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy


class QoSProfile(object):
class QoSProfile():
Copy link
Member

Choose a reason for hiding this comment

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

Should the parenthesis be removed too?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes they should 👍

@mikaelarguedas mikaelarguedas merged commit df42fb9 into master Aug 28, 2017
@mikaelarguedas mikaelarguedas deleted the homogenize_class_inheritence branch August 28, 2017 16:14
@mikaelarguedas mikaelarguedas removed the in review Waiting for review (Kanban column) label Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants