diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-15 15:31:09 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-03-15 15:31:09 -0400 |
| commit | a323a4962eef39b6af7c5d07cdeb88bb0c307ce4 (patch) | |
| tree | 6b32398f9e7e30e3119b2dcfe1720ffd1a60c27f /setuptools/__init__.py | |
| parent | 24fa288a98a14e6ec57b996b151a48203322c936 (diff) | |
| download | external_python_setuptools-a323a4962eef39b6af7c5d07cdeb88bb0c307ce4.tar.gz external_python_setuptools-a323a4962eef39b6af7c5d07cdeb88bb0c307ce4.tar.bz2 external_python_setuptools-a323a4962eef39b6af7c5d07cdeb88bb0c307ce4.zip | |
Extract method for normalization, allowing for bypass when the version is wrapped in 'sic'. Fixes #308.
Diffstat (limited to 'setuptools/__init__.py')
| -rw-r--r-- | setuptools/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 4485852f..811f3fd2 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -224,5 +224,9 @@ def findall(dir=os.curdir): return list(files) +class sic(str): + """Treat this string as-is (https://en.wikipedia.org/wiki/Sic)""" + + # Apply monkey patches monkey.patch_all() |
