Skip to contentSkip to conversation

scripts/argparse.py: spelling (independant)

PATCH In review Michael Tokarev 2 participants 2 messages Jan 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/argparse.py: spelling (independant)

---
 scripts/argparse.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/argparse.py +1 -1
index 288c1f06c0..27d1f28935 100644
@@ -76,7 +76,7 @@ considered public as object names -- the API of the formatter objects is
 still considered an implementation detail.)
 """
 
-__version__ = '1.4.0'  # we use our own version number independant of the
+__version__ = '1.4.0'  # we use our own version number independent of the
                        # one in stdlib and we release this on pypi.
 
 __external_lib__ = True  # to make sure the tests really test THIS lib,
Signature · 1 line
2.11.0
Reviewed-by on v1 1/1
#1 lore raw

scripts/argparse.py

Quoted 9 lines · Michael Tokarev
---
 scripts/argparse.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/argparse.py +0 -0
index 288c1f06c0..27d1f28935 100644

From the top of the file:

# This is a local copy of the standard library argparse module taken from PyPI.
# It is licensed under the Python Software Foundation License. This is a

# fallback for Python 2.6 which does not include this module.  Python
2.7+ and
# 3+ will never load this module because built-in modules are loaded before
# anything in sys.path.

scripts/argparse.py considered public as object names -- the API of the formatter objects is · line 80

Quoted 7 lines
scripts/argparse.py +1 -1
@@ -76,7 +76,7 @@ considered public as object names -- the API of the formatter objects is
 still considered an implementation detail.)
 """
 
-__version__ = '1.4.0'  # we use our own version number independant of the
+__version__ = '1.4.0'  # we use our own version number independent of the
                        # one in stdlib and we release this on pypi.

Is this typo still present in the upstream source that we copied from? It's our local downstream copy, so we can tweak it, but we might want to feed this one back upstream.

Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org