File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change
1
+ Improve the ``safe_version `` function documentation
Original file line number Diff line number Diff line change @@ -1596,12 +1596,12 @@ Parsing Utilities
1596
1596
See ``to_filename()``.
1597
1597
1598
1598
``safe_version(version)``
1599
- This will return the normalized form of any PEP 440 version, if the version
1600
- string is not PEP 440 compatible than it is similar to ``safe_name()``
1601
- except that spaces in the input become dots, and dots are allowed to exist
1602
- in the output. As with ``safe_name()``, if you are generating a filename
1603
- from this you should replace any "-" characters in the output with
1604
- underscores.
1599
+ This will return the normalized form of any PEP 440 version. If the version
1600
+ string is not PEP 440 compatible, this function behaves similar to
1601
+ ``safe_name()`` except that spaces in the input become dots, and dots are
1602
+ allowed to exist in the output. As with ``safe_name()``, if you are
1603
+ generating a filename from this you should replace any "-" characters in
1604
+ the output with underscores.
1605
1605
1606
1606
``safe_extra(extra)``
1607
1607
Return a "safe" form of an extra's name, suitable for use in a requirement
You can’t perform that action at this time.
0 commit comments