summaryrefslogtreecommitdiff
path: root/serial/tools/list_ports_osx.py
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2021-05-14 08:22:24 -0400
committerluz paz <luzpaz@users.noreply.github.com>2021-05-14 08:22:24 -0400
commitf411ba382f553326c50b2dbd3e512d7f096b981f (patch)
treec11815ec05782a83734d7d836443ee02fc7f4fb2 /serial/tools/list_ports_osx.py
parentbce419352b22b2605df6c2158f3e20a15b8061cb (diff)
downloadpyserial-git-f411ba382f553326c50b2dbd3e512d7f096b981f.tar.gz
Fix misc. documentation and source comment typos
Found via `codespell -q 3 -L ba,ser,wont`
Diffstat (limited to 'serial/tools/list_ports_osx.py')
-rw-r--r--serial/tools/list_ports_osx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/tools/list_ports_osx.py b/serial/tools/list_ports_osx.py
index 51b4e8c..7480501 100644
--- a/serial/tools/list_ports_osx.py
+++ b/serial/tools/list_ports_osx.py
@@ -277,7 +277,7 @@ def comports(include_links=False):
if not usb_device:
usb_device = GetParentDeviceByType(service, "IOUSBDevice")
if usb_device:
- # fetch some useful informations from properties
+ # fetch some useful information from properties
info.vid = get_int_property(usb_device, "idVendor", kCFNumberSInt16Type)
info.pid = get_int_property(usb_device, "idProduct", kCFNumberSInt16Type)
info.serial_number = get_string_property(usb_device, kUSBSerialNumberString)