File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -329,13 +329,12 @@ The module defines the following exceptions:
329
329
is set to a truncated form of the name provided or alias dereferenced
330
330
for the lowest entry (object or alias) that was matched.
331
331
332
- For use in asynchronous operations an optional field :py:const: `msg_id ` is
333
- also set in the dictionary in cases where the exception can be associated
334
- with a request. This can be used in asynchronous code where
335
- :py:meth: `result() ` returns an exception that is effectively the result of a
336
- previously started asynchronous operation. For example, this is the case for
337
- asynchronous (:py:meth: `compare() `), where the boolean result is always
338
- raised as an exception (:py:exc: `COMPARE_TRUE ` or :py:exc: `COMPARE_FALSE `).
332
+ The field :py:const: `msgid ` is set in the dictionary where the
333
+ exception can be associated with an asynchronous request.
334
+ This can be used in asynchronous code where :py:meth: `result() ` raises the
335
+ result of an operation as an exception. For example, this is the case for
336
+ :py:meth: `compare() `, always raises the boolean result as an exception
337
+ (:py:exc: `COMPARE_TRUE ` or :py:exc: `COMPARE_FALSE `).
339
338
340
339
Most exceptions from protocol results also carry the :py:attr: `errnum `
341
340
attribute.
You can’t perform that action at this time.
0 commit comments