Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Miaofei <miaofei@amazon.com>
  • Loading branch information
mm318 committed Feb 7, 2020
1 parent 6a4486f commit 1723927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclpy/rclpy/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@ def get_publishers_info_by_topic(
"""
Return a list of publishers publishing to a given topic.
The returned parameter is a list of dictionaries, where each dictionary will contain
The returned parameter is a list of TopicEndpointInfo objects, where each will contain
the node name, node namespace, topic type, topic endpoint's GID, and its QoS profile.
When the `no_mangle` parameter is `true`, the provided `topic_name` should be a valid topic
Expand All @@ -1728,7 +1728,7 @@ def get_subscriptions_info_by_topic(
"""
Return a list of subscriptions to a given topic.
The returned parameter is a list of dictionaries, where each dictionary will contain
The returned parameter is a list of TopicEndpointInfo objects, where each will contain
the node name, node namespace, topic type, topic endpoint's GID, and its QoS profile.
When the `no_mangle` parameter is `true`, the provided `topic_name` should be a valid topic
Expand Down

0 comments on commit 1723927

Please sign in to comment.