minor typo fixes
fixed a few minor typos in the intro for the section "Deprecating and making module aliases"
This commit is contained in:
parent
59456af8be
commit
4822c2caa5
1 changed files with 2 additions and 2 deletions
|
@ -631,8 +631,8 @@ Windows modules checklist
|
|||
Deprecating and making module aliases
|
||||
``````````````````````````````````````
|
||||
|
||||
Starting in 1.8 you can deprecate modules by renaming them with a preceding _, i.e. old_cloud.py to
|
||||
_old_cloud.py, This will keep the module available but hide it from the primary docs and listing.
|
||||
Starting in 1.8, you can deprecate modules by renaming them with a preceding _, i.e. old_cloud.py to
|
||||
_old_cloud.py. This keeps the module available, but hides it from the primary docs and listing.
|
||||
|
||||
You can also rename modules and keep an alias to the old name by using a symlink that starts with _.
|
||||
This example allows the stat module to be called with fileinfo, making the following examples equivalent::
|
||||
|
|
Loading…
Reference in a new issue