@@ -433,8 +433,8 @@ def sync(self, sync_item, client=None, clientId=None):
433433 :class:`plexapi.sync.SyncItem`: an instance of created syncItem.
434434
435435 Raises:
436- :class:`plexapi.exceptions.BadRequest` when client with provided clientId wasn`t found.
437- :class:`plexapi.exceptions.BadRequest` provided client doesn`t provides `sync-target`.
436+ :class:`plexapi.exceptions.BadRequest`: when client with provided clientId wasn`t found.
437+ :class:`plexapi.exceptions.BadRequest`: provided client doesn`t provides `sync-target`.
438438 """
439439 if not client and not clientId :
440440 clientId = X_PLEX_IDENTIFIER
@@ -690,7 +690,7 @@ def connect(self, ssl=None, timeout=None):
690690 HTTP or HTTPS connection.
691691
692692 Raises:
693- :class:`~ plexapi.exceptions.NotFound`: When unable to connect to any addresses for this resource.
693+ :class:`plexapi.exceptions.NotFound`: When unable to connect to any addresses for this resource.
694694 """
695695 # Sort connections from (https, local) to (http, remote)
696696 # Only check non-local connections unless we own the resource
@@ -797,7 +797,7 @@ def connect(self, timeout=None):
797797 at least one connection was successful, the PlexClient object is built and returned.
798798
799799 Raises:
800- :class:`~ plexapi.exceptions.NotFound`: When unable to connect to any addresses for this device.
800+ :class:`plexapi.exceptions.NotFound`: When unable to connect to any addresses for this device.
801801 """
802802 cls = PlexServer if 'server' in self .provides else PlexClient
803803 listargs = [[cls , url , self .token , timeout ] for url in self .connections ]
@@ -814,7 +814,7 @@ def syncItems(self):
814814 """ Returns an instance of :class:`plexapi.sync.SyncList` for current device.
815815
816816 Raises:
817- :class:`plexapi.exceptions.BadRequest` when the device doesn`t provides `sync-target`.
817+ :class:`plexapi.exceptions.BadRequest`: when the device doesn`t provides `sync-target`.
818818 """
819819 if 'sync-target' not in self .provides :
820820 raise BadRequest ('Requested syncList for device which do not provides sync-target' )
0 commit comments