Skip to content

Commit 05498f0

Browse files
committed
Doc gen fixes.
1 parent cbae457 commit 05498f0

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

sparkpost/suppression_list.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ class SuppressionList(Resource):
77
"""
88
SuppressionList class used to search, get and modify suppression status.
99
For detailed request and response formats, see the `Suppresion List API
10-
documentation<https://www.sparkpost.com/api#/reference/suppression-list>`_.
10+
documentation
11+
<https://www.sparkpost.com/api#/reference/suppression-list>`_.
1112
"""
1213

1314
key = 'suppression-list'
@@ -65,10 +66,10 @@ def create(self, entry):
6566
6667
:param dict|list status: If dict it is a single entry to create
6768
``{
68-
'email': '[email protected]',
69-
'transactional': True,
70-
'non_transactional': True,
71-
'description': 'Test description'
69+
'email': '[email protected]',
70+
'transactional': True,
71+
'non_transactional': True,
72+
'description': 'Test description'
7273
}``, if list it is multiple entries to create
7374
7475
:returns: a ``dict`` with a message
@@ -82,10 +83,10 @@ def update(self, entry):
8283
8384
:param dict|list status: If dict it is a single entry to update
8485
``{
85-
'email': '[email protected]',
86-
'transactional': True,
87-
'non_transactional': True,
88-
'description': 'Test description'
86+
'email': '[email protected]',
87+
'transactional': True,
88+
'non_transactional': True,
89+
'description': 'Test description'
8990
}``, if list it is multiple entries to update
9091
9192
:returns: a ``dict`` with a message

sparkpost/templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def delete(self, template_id):
118118
119119
:returns: TODO
120120
:raises: :exc:`SparkPostAPIException` if template is not found or if
121-
template is in use
121+
template is in use
122122
"""
123123
uri = "%s/%s" % (self.uri, template_id)
124124
results = self.request('DELETE', uri)

0 commit comments

Comments
 (0)