Merge pull request #7280 from ThomasWaldmann/shellpattern-license-master

shellpattern: add license, use copyright/license markup
This commit is contained in:
TW 2023-01-18 16:46:22 +01:00 committed by GitHub
commit 0fa2506b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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