File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ added matters.  To illustrate::
267267
268268      Handle a *defect * found on *obj *.  When the email package calls this
269269      method, *defect * will always be a subclass of
270-       :class: `~email.errors.Defect  `.
270+       :class: `~email.errors.MessageDefect  `.
271271
272272      The default implementation checks the :attr: `raise_on_defect ` flag.  If
273273      it is ``True ``, *defect * is raised as an exception.  If it is ``False ``
@@ -277,7 +277,7 @@ added matters.  To illustrate::
277277   .. method :: register_defect(obj, defect) 
278278
279279      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  `.
281281
282282      The default implementation calls the ``append `` method of the ``defects ``
283283      attribute of *obj *.  When the email package calls :attr: `handle_defect `,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments