diff options
author | achhina <aman.s.chhina@gmail.com> | 2023-01-22 06:59:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-22 06:59:31 (GMT) |
commit | 95f5b05a8cad61b296807c14e50896075c4dc1de (patch) | |
tree | 165d16ec14680f38e0a8631603190125351de2b0 /Doc/whatsnew | |
parent | c1c5882359a2899b74c1685a0d4e61d6e232161f (diff) | |
download | cpython-95f5b05a8cad61b296807c14e50896075c4dc1de.zip cpython-95f5b05a8cad61b296807c14e50896075c4dc1de.tar.gz cpython-95f5b05a8cad61b296807c14e50896075c4dc1de.tar.bz2 |
GH-88597: Added command line interface to UUID module. (#99463)
The `uuid` module now supports command line usage.
```python
❯ ./python.exe -m uuid
5f2d57b1-90e8-417c-ba5d-69b9b6f74289
❯ ./python.exe -m uuid -h
usage: uuid.py [-h] [-u {uuid1,uuid3,uuid4,uuid5}] [-ns NAMESPACE] [-n NAME]
...
```
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.12.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 4d6d466..851105f 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -327,6 +327,12 @@ unicodedata * The Unicode database has been updated to version 15.0.0. (Contributed by Benjamin Peterson in :gh:`96734`). +uuid +---- + +* Add a :ref:`command-line interface <uuid-cli>`. + (Contributed by Adam Chhina in :gh:`88597`.) + tempfile -------- |