Skip to content

Commit 1527e05

Browse files
authored
Merge pull request #1743 from Dreamsorcerer/patch-1
Add missing documentation about None return type.
2 parents 244b486 + a9ba22a commit 1527e05

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/werkzeug/useragents.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ class UserAgent(object):
112112
113113
.. attribute:: platform
114114
115-
the browser platform. The following platforms are currently
116-
recognized:
115+
the browser platform. ``None`` if not recognized.
116+
The following platforms are currently recognized:
117117
118118
- `aix`
119119
- `amiga`
@@ -139,8 +139,8 @@ class UserAgent(object):
139139
140140
.. attribute:: browser
141141
142-
the name of the browser. The following browsers are currently
143-
recognized:
142+
the name of the browser. ``None`` if not recognized.
143+
The following browsers are currently recognized:
144144
145145
- `aol` *
146146
- `ask` *
@@ -170,11 +170,11 @@ class UserAgent(object):
170170
171171
.. attribute:: version
172172
173-
the version of the browser
173+
the version of the browser. ``None`` if not recognized.
174174
175175
.. attribute:: language
176176
177-
the language of the browser
177+
the language of the browser. ``None`` if not recognized.
178178
"""
179179

180180
_parser = UserAgentParser()

0 commit comments

Comments
 (0)