File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -472,8 +472,8 @@ Custom socket creation
472
472
^^^^^^^^^^^^^^^^^^^^^^
473
473
474
474
If the default socket is insufficient for your use case, pass an optional
475
- `socket_factory ` to the :class: `~aiohttp.TCPConnector `, which implements
476
- `SocketFactoryType `. This will be used to create all sockets for the
475
+ `` socket_factory ` ` to the :class: `~aiohttp.TCPConnector `, which implements
476
+ `` SocketFactoryType ` `. This will be used to create all sockets for the
477
477
lifetime of the class object. For example, we may want to change the
478
478
conditions under which we consider a connection dead. The following would
479
479
make all sockets respect 9*7200 = 18 hours::
Original file line number Diff line number Diff line change @@ -1132,7 +1132,7 @@ is controlled by *force_close* constructor's parameter).
1132
1132
1133
1133
Be sure to use ``aiohttp.AddrInfoType `` rather than
1134
1134
``aiohappyeyeballs.AddrInfoType `` to avoid import breakage, as
1135
- it is likely to be removed from `` aiohappyeyeballs ` ` in the
1135
+ it is likely to be removed from :ref: ` aiohappyeyeballs ` in the
1136
1136
future.
1137
1137
1138
1138
@@ -1146,7 +1146,7 @@ is controlled by *force_close* constructor's parameter).
1146
1146
1147
1147
Be sure to use ``aiohttp.SocketFactoryType `` rather than
1148
1148
``aiohappyeyeballs.SocketFactoryType `` to avoid import breakage,
1149
- as it is likely to be removed from `` aiohappyeyeballs ` ` in the
1149
+ as it is likely to be removed from :ref: ` aiohappyeyeballs ` in the
1150
1150
future.
1151
1151
1152
1152
@@ -1278,8 +1278,8 @@ is controlled by *force_close* constructor's parameter).
1278
1278
1279
1279
.. versionadded :: 3.10
1280
1280
1281
- :param : py :data: `` SocketFactoryType `` socket_factory: This function takes an
1282
- :py:data: `` AddrInfoType` ` and is used in lieu of ``socket.socket() `` when
1281
+ :param SocketFactoryType socket_factory: This function takes an
1282
+ :py:data: `AddrInfoType ` and is used in lieu of ``socket.socket() `` when
1283
1283
creating TCP connections.
1284
1284
1285
1285
.. versionadded :: 3.12
You can’t perform that action at this time.
0 commit comments