From a9ba22af18b3e4fa9fca067ee07b57cf0ae38e8b Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Mon, 2 Mar 2020 13:33:00 +0000 Subject: [PATCH] Add missing documentation about None return type. --- src/werkzeug/useragents.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/werkzeug/useragents.py b/src/werkzeug/useragents.py index 74f2fa4fd..6ef6e2b8e 100644 --- a/src/werkzeug/useragents.py +++ b/src/werkzeug/useragents.py @@ -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` @@ -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` * @@ -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()