File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -272,8 +272,8 @@ Protocol classes
272272Connection callbacks
273273--------------------
274274
275- These callbacks may be called on :class: `Protocol ` and
276- :class: `SubprocessProtocol ` instances:
275+ These callbacks may be called on :class: `Protocol `, :class: ` DatagramProtocol `
276+ and :class: `SubprocessProtocol ` instances:
277277
278278.. method :: BaseProtocol.connection_made(transport)
279279
@@ -291,10 +291,10 @@ These callbacks may be called on :class:`Protocol` and
291291 The latter means a regular EOF is received, or the connection was
292292 aborted or closed by this side of the connection.
293293
294- :meth: `connection_made ` and :meth: `connection_lost ` are called exactly once
295- per successful connection. All other callbacks will be called between those
296- two methods, which allows for easier resource management in your protocol
297- implementation.
294+ :meth: `~BaseProtocol. connection_made ` and :meth: `~BaseProtocol. connection_lost `
295+ are called exactly once per successful connection. All other callbacks will be
296+ called between those two methods, which allows for easier resource management
297+ in your protocol implementation.
298298
299299The following callbacks may be called only on :class: `SubprocessProtocol `
300300instances:
You can’t perform that action at this time.
0 commit comments