diff options
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/archive.py | 2 | ||||
| -rw-r--r-- | django/utils/regex_helper.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/archive.py b/django/utils/archive.py index 3e5d22ae1b..90b72593a9 100644 --- a/django/utils/archive.py +++ b/django/utils/archive.py @@ -141,7 +141,7 @@ class TarArchive(BaseArchive): self._archive.list(*args, **kwargs) def extract(self, to_path): - # note: python<=2.5 doesnt seem to know about pax headers, filter them + # note: python<=2.5 doesn't seem to know about pax headers, filter them members = [member for member in self._archive.getmembers() if member.name != 'pax_global_header'] leading = self.has_leading_dir(members) diff --git a/django/utils/regex_helper.py b/django/utils/regex_helper.py index 60a0e7acfa..a43234ad05 100644 --- a/django/utils/regex_helper.py +++ b/django/utils/regex_helper.py @@ -250,7 +250,7 @@ def get_quantifier(ch, input_iter): Parse a quantifier from the input, where "ch" is the first character in the quantifier. - Returns the minimum number of occurences permitted by the quantifier and + Returns the minimum number of occurrences permitted by the quantifier and either None or the next character from the input_iter if the next character is not part of the quantifier. """ |
