From ebc60315a6bdfbd9b6ecd0d01f96eeca2b1d8d38 Mon Sep 17 00:00:00 2001 From: Michel Hidalgo Date: Mon, 8 Jan 2024 09:18:14 -0300 Subject: [PATCH] Fix typo in docstring Signed-off-by: Michel Hidalgo --- proto2ros/proto2ros/descriptors/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto2ros/proto2ros/descriptors/utilities.py b/proto2ros/proto2ros/descriptors/utilities.py index 1c1a7b6..06ca6f9 100644 --- a/proto2ros/proto2ros/descriptors/utilities.py +++ b/proto2ros/proto2ros/descriptors/utilities.py @@ -5,7 +5,7 @@ Many of these utilities trade in terms of paths and locations. -Paths are sequences of numbers that refere to an arbitrarily nested value in a Protobuf message. +Paths are sequences of numbers that refer to an arbitrarily nested value in a Protobuf message. Each part of a path is one or two numbers: the field number if it is not a repeated field, and the field number and item index if it is. For example, ``[4, 1, 3]`` can be (but it ultimately depends on the concrete Protobuf message type) a path to the third item of field number 1 of