File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ added matters. To illustrate::
267
267
268
268
Handle a *defect * found on *obj *. When the email package calls this
269
269
method, *defect * will always be a subclass of
270
- :class: `~email.errors.Defect `.
270
+ :class: `~email.errors.MessageDefect `.
271
271
272
272
The default implementation checks the :attr: `raise_on_defect ` flag. If
273
273
it is ``True ``, *defect * is raised as an exception. If it is ``False ``
@@ -277,7 +277,7 @@ added matters. To illustrate::
277
277
.. method :: register_defect(obj, defect)
278
278
279
279
Register a *defect * on *obj *. In the email package, *defect * will always
280
- be a subclass of :class: `~email.errors.Defect `.
280
+ be a subclass of :class: `~email.errors.MessageDefect `.
281
281
282
282
The default implementation calls the ``append `` method of the ``defects ``
283
283
attribute of *obj *. When the email package calls :attr: `handle_defect `,
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ Doc/library/email.charset.rst
23
23
Doc/library/email.compat32-message.rst
24
24
Doc/library/email.errors.rst
25
25
Doc/library/email.parser.rst
26
- Doc/library/email.policy.rst
27
26
Doc/library/exceptions.rst
28
27
Doc/library/functools.rst
29
28
Doc/library/http.cookiejar.rst
You can’t perform that action at this time.
0 commit comments