shellpattern: add license, use copyright/license markup

This commit is contained in:
Thomas Waldmann 2023-01-18 15:45:13 +01:00
parent 1df7c244c4
commit 88b9868159
No known key found for this signature in database
GPG Key ID: 243ACFA951F78E01
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ def translate(pat, match_end=r"\Z"):
This function is derived from the "fnmatch" module distributed with the Python standard library.
Copyright (C) 2001-2016 Python Software Foundation. All rights reserved.
:copyright: 2001-2016 Python Software Foundation. All rights reserved.
:license: PSFLv2
TODO: support {alt1,alt2} shell-style alternatives