Skip to content

Commit

Permalink
Merge pull request #1743 from Dreamsorcerer/patch-1
Browse files Browse the repository at this point in the history
Add missing documentation about None return type.
  • Loading branch information
davidism committed Mar 18, 2020
2 parents 244b486 + a9ba22a commit 1527e05
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 1527e05

Please sign in to comment.