Skip to content

Commit

Permalink
Final doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Nov 8, 2023
1 parent 3b36edf commit 0b96783
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/register_sop_class.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DICOM Standard that hasn't yet been added to *pynetdicom*. In this short
tutorial you'll learn how to register your own UID so it can be used like
the SOP Classes included by *pynetdicom*.

To register new UIDs we use the :func:`~pynetdicom.sop_class.register_uid` function,
To register new UIDs you use the :func:`~pynetdicom.sop_class.register_uid` function,
which takes the UID to be registered, a `keyword` that will be used as the
variable name for the new UID and the *pynetdicom*
:mod:`~pynetdicom.service_class` to register the UID with::
Expand Down
2 changes: 1 addition & 1 deletion pynetdicom/sop_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def register_uid(
If `service_class` is
:class:`~pynetdicom.service_class.QueryRetrieveServiceClass` then this
should be the DIMSE service message type that the `uid` is being
registered to. One of ("C-FIND", "C-GET", "C-MOVE").
registered to. One of (``"C-FIND"``, ``"C-GET"``, ``"C-MOVE"``).
"""
if not keyword.isidentifier() or iskeyword(keyword):
raise ValueError(
Expand Down

0 comments on commit 0b96783

Please sign in to comment.