]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Fix doc capitalization (#1460)
authorDaniel Saxton <2658661+dsaxton@users.noreply.github.com>
Sat, 6 Feb 2021 23:23:30 +0000 (17:23 -0600)
committerGitHub <noreply@github.com>
Sat, 6 Feb 2021 23:23:30 +0000 (00:23 +0100)
docs/environment_variables.md
httpx/_status_codes.py

index 525c525117efba7f50fea5274ddaa6326022e92b..1cc5ff3437aed35e0a72469bced6787c93707a1f 100644 (file)
@@ -110,7 +110,7 @@ CLIENT_TRAFFIC_SECRET_0 XXXX
 
 Valid values: a filename
 
-if this environment variable is set then HTTPX will load
+If this environment variable is set then HTTPX will load
 CA certificate from the specified file instead of the default
 location.
 
@@ -124,7 +124,7 @@ SSL_CERT_FILE=/path/to/ca-certs/ca-bundle.crt python -c "import httpx; httpx.get
 
 Valid values: a directory
 
-if this environment variable is set then HTTPX will load
+If this environment variable is set then HTTPX will load
 CA certificates from the specified location instead of the default
 location.
 
index 71cf5cee98a2da132bbebf87d68f04ead463b8ad..f7ee6b64a9d8b81456921e571c14df81152cfbe1 100644 (file)
@@ -26,7 +26,7 @@ class codes(IntEnum):
         obj = int.__new__(cls, value)  # type: ignore
         obj._value_ = value
 
-        obj.phrase = phrase
+        obj.phrase = phrase  # type: ignore
         return obj
 
     def __str__(self) -> str: