File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ recommended command-line parsing module in the Python standard library.
1515
1616   There are two other modules that fulfill the same task, namely
1717   :mod: `getopt ` (an equivalent for ``getopt() `` from the C
18-    language) and the deprecated  :mod: `optparse `.
18+    language) and the lower level  :mod: `optparse ` module .
1919   Note also that :mod: `argparse ` is based on :mod: `optparse `,
2020   and therefore very similar in terms of usage.
2121
Original file line number Diff line number Diff line change 1616   While :mod: `argparse ` is the recommended standard library module for
1717   *implementing * command line applications, authors of third party
1818   command line argument processing libraries may find that the
19-    simpler  :mod: `optparse ` module serves as a better foundation for
19+    lower level  :mod: `optparse ` module serves as a better foundation for
2020   that use case.
2121
2222-------------- 
Original file line number Diff line number Diff line change @@ -1655,8 +1655,8 @@ optparse
16551655  While :mod: `argparse ` remains preferred for new projects that
16561656  aren't using a third party command line argument processing
16571657  library, there are aspects of the way ``argparse `` works that
1658-   means ``optparse `` may provide a better foundation for * writing * 
1659-   argument processing libraries.
1658+   means the lower level  ``optparse `` module  may provide a better
1659+   foundation for * writing *  argument processing libraries.
16601660  (Contributed by Alyssa Coghlan in :gh: `126225 `.)
16611661
16621662
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ There are legitimate reasons to use one of these modules in preference to
33:mod: `argparse `, and none of these modules are at risk of being removed
44from the standard library. Of the three, ``argparse `` remains the
55recommended default choice, *unless * one of the concerns noted at the top of
6- the module documentation applies.
6+ the `` optparse ``  module documentation applies.
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments