Skip to content

Commit 5b168a2

Browse files
authored
Merge pull request #1663 from wimglenn/tell-me-a-udp-joke
Fix doc typos upd -> udp
2 parents 62bae04 + 819dbac commit 5b168a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

zmq/backend/cython/socket.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ cdef class Socket:
576576
addr : str
577577
The address string. This has the form 'protocol://interface:port',
578578
for example 'tcp://127.0.0.1:5555'. Protocols supported are
579-
tcp, upd, pgm, inproc and ipc. If the address is unicode, it is
579+
tcp, udp, pgm, inproc and ipc. If the address is unicode, it is
580580
encoded to utf-8 first.
581581
"""
582582
cdef int rc
@@ -612,7 +612,7 @@ cdef class Socket:
612612
addr : str
613613
The address string. This has the form 'protocol://interface:port',
614614
for example 'tcp://127.0.0.1:5555'. Protocols supported are
615-
tcp, upd, pgm, inproc and ipc. If the address is unicode, it is
615+
tcp, udp, pgm, inproc and ipc. If the address is unicode, it is
616616
encoded to utf-8 first.
617617
"""
618618
cdef int rc
@@ -643,7 +643,7 @@ cdef class Socket:
643643
addr : str
644644
The address string. This has the form 'protocol://interface:port',
645645
for example 'tcp://127.0.0.1:5555'. Protocols supported are
646-
tcp, upd, pgm, inproc and ipc. If the address is unicode, it is
646+
tcp, udp, pgm, inproc and ipc. If the address is unicode, it is
647647
encoded to utf-8 first.
648648
"""
649649
cdef int rc

zmq/sugar/socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def connect(self: T, addr: str) -> _SocketContext[T]:
242242
addr : str
243243
The address string. This has the form 'protocol://interface:port',
244244
for example 'tcp://127.0.0.1:5555'. Protocols supported are
245-
tcp, upd, pgm, inproc and ipc. If the address is unicode, it is
245+
tcp, udp, pgm, inproc and ipc. If the address is unicode, it is
246246
encoded to utf-8 first.
247247
248248
"""

0 commit comments

Comments
 (0)