Skip to content

Commit 87b00d0

Browse files
committed
rewrite hikari.api.config and .entity_factory
1 parent b4b15df commit 87b00d0

File tree

2 files changed

+155
-157
lines changed

2 files changed

+155
-157
lines changed

hikari/api/config.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def trust_env(self) -> bool:
122122
123123
!!! note
124124
For more details of using `netrc`, visit:
125-
https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html
125+
<https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html>
126126
"""
127127

128128

@@ -160,15 +160,15 @@ def ssl(self) -> ssl_.SSLContext:
160160
161161
This may be assigned a [`bool`][] or an [`ssl.SSLContext`][] object.
162162
163-
If assigned to [`True`][], a default SSL context is generated by
164-
this class that will enforce SSL verification. This is then stored in
163+
If assigned [`True`][], a default SSL context is generated by
164+
this class that will enforce SSL verification. It is then stored in
165165
this field.
166166
167-
If [`False`][], then a default SSL context is generated by this
168-
class that will **NOT** enforce SSL verification. This is then stored
167+
If assigned [`False`][], then a default SSL context is generated by this
168+
class that will **NOT** enforce SSL verification. It is then stored
169169
in this field.
170170
171-
If an instance of [`ssl.SSLContext`][], then this context will be used.
171+
If assigned an instance of [`ssl.SSLContext`][], then that context will be used.
172172
173173
!!! warning
174174
Setting a custom value here may have security implications, or

0 commit comments

Comments
 (0)