diff options
| author | David Lord <davidism@gmail.com> | 2020-04-20 00:31:06 -0700 |
|---|---|---|
| committer | David Lord <davidism@gmail.com> | 2020-04-20 00:31:06 -0700 |
| commit | 9f34897f4a77f6c5c369962974290c6eea211c76 (patch) | |
| tree | 680ea144c51a0ce524b151972e390a9b1b27b6db /src/click/_unicodefun.py | |
| parent | 03dabdda8e48f0f87f13d24b9a2e65c1b0807635 (diff) | |
| download | click-drop-python2.tar.gz | |
remove Python 2/3 from docsdrop-python2
Diffstat (limited to 'src/click/_unicodefun.py')
| -rw-r--r-- | src/click/_unicodefun.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/click/_unicodefun.py b/src/click/_unicodefun.py index 7f3f234..53ec9d2 100644 --- a/src/click/_unicodefun.py +++ b/src/click/_unicodefun.py @@ -2,8 +2,8 @@ import codecs import os -def _verify_python3_env(): - """Ensures that the environment is good for unicode on Python 3.""" +def _verify_python_env(): + """Ensures that the environment is good for Unicode.""" try: import locale @@ -75,8 +75,8 @@ def _verify_python3_env(): ) raise RuntimeError( - "Click will abort further execution because Python 3 was" + "Click will abort further execution because Python was" " configured to use ASCII as encoding for the environment." - " Consult https://click.palletsprojects.com/python3/ for" - f" mitigation steps.{extra}" + " Consult https://click.palletsprojects.com/unicode-support/" + f" for mitigation steps.{extra}" ) |
