Skip to content

Commit

Permalink
Add missing documentation about None return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Bull authored and davidism committed Mar 17, 2020
1 parent 244b486 commit a9ba22a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/werkzeug/useragents.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ class UserAgent(object):
.. attribute:: platform
the browser platform. The following platforms are currently
recognized:
the browser platform. ``None`` if not recognized.
The following platforms are currently recognized:
- `aix`
- `amiga`
Expand All @@ -139,8 +139,8 @@ class UserAgent(object):
.. attribute:: browser
the name of the browser. The following browsers are currently
recognized:
the name of the browser. ``None`` if not recognized.
The following browsers are currently recognized:
- `aol` *
- `ask` *
Expand Down Expand Up @@ -170,11 +170,11 @@ class UserAgent(object):
.. attribute:: version
the version of the browser
the version of the browser. ``None`` if not recognized.
.. attribute:: language
the language of the browser
the language of the browser. ``None`` if not recognized.
"""

_parser = UserAgentParser()
Expand Down

0 comments on commit a9ba22a

Please sign in to comment.