diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-26 10:18:45 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-26 10:18:45 -0700 |
| commit | 2bcb8bfc8de5cd57ebb64b326cd7609aa0d8c1c7 (patch) | |
| tree | 6c0dc4b5f0d4dbcae6c181efc2b346799ac5caf3 /django/utils | |
| parent | 8b5b199e20ad2d8d3e91873ce0cd5d3035e05ece (diff) | |
Fix many many typos in comments throughout the codebase
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. """ |
