Skip to content

Commit ab38f90

Browse files
author
Chaim-Leib Halbert
committed
Update about.py
1 parent 3dc2323 commit ab38f90

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tincan/about.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class About(SerializableBase):
2424
:param version: The versions supported. This attribute is required.
2525
:type version: list of unicode
2626
:param extensions: Custom user data. This attribute is optional.
27-
:type extensions: :class:`tincan.extensions.Extensions`
27+
:type extensions: :class:`tincan.Extensions`
2828
"""
2929

3030
_props_req = [
@@ -41,10 +41,11 @@ def version(self):
4141
"""Version for About
4242
4343
:setter: Sets the version. If None is provided, defaults to
44-
`[tincan.version.Version.latest]`. If a string is provided,
44+
`[tincan.Version.latest]`. If a string is provided,
4545
makes a 1-element list containing the string.
4646
:setter type: list | tuple | str | unicode | None
4747
:rtype: list
48+
4849
"""
4950
return self._version
5051

@@ -57,7 +58,6 @@ def check_version(v):
5758
:param v: the version string to check
5859
:type v: list of str or unicode | tuple of str or unicode
5960
:raises ValueError
60-
6161
"""
6262
if v in Version.supported:
6363
return
@@ -105,9 +105,9 @@ def extensions(self):
105105
"""Extensions for About
106106
107107
:setter: Tries to convert to Extensions. If None is provided,
108-
sets to an empty `tincan.extensions.Extensions` dict.
109-
:setter type: :class:`tincan.extensions.Extensions` | dict | None
110-
:rtype: :class:`tincan.extensions.Extensions`
108+
sets to an empty `tincan.Extensions` dict.
109+
:setter type: :class:`tincan.Extensions` | dict | None
110+
:rtype: :class:`tincan.Extensions`
111111
112112
"""
113113
return self._extensions
@@ -123,8 +123,8 @@ def extensions(self, value):
123123
self._extensions = Extensions(value)
124124
except Exception as e:
125125
msg = (
126-
"Property 'extensions' in a 'tincan.%s' object must be set with an "
127-
"Extensions, dict, or None.\n\n" %
126+
"Property 'extensions' in a 'tincan.%s' object must be set with a "
127+
"tincan.Extensions, dict, or None.\n\n" %
128128
self.__class__.__name__,
129129
)
130130
msg += e.message

0 commit comments

Comments
 (0)