Skip to content

Commit 2a6c80a

Browse files
author
Kenneth Reitz
committed
Merge pull request pallets#489 from florentx/patch-1
few typos
2 parents 1a19ddc + a2eb5ef commit 2a6c80a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/flaskext_compat.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def load_module(self, fullname):
5858
except ImportError:
5959
exc_type, exc_value, tb = sys.exc_info()
6060
# since we only establish the entry in sys.modules at the
61-
# very this seems to be redundant, but if recursive imports
61+
# end this seems to be redundant, but if recursive imports
6262
# happen we will call into the move import a second time.
6363
# On the second invocation we still don't have an entry for
6464
# fullname in sys.modules, but we will end up with the same
@@ -71,7 +71,7 @@ def load_module(self, fullname):
7171

7272
# If it's an important traceback we reraise it, otherwise
7373
# we swallow it and try the next choice. The skipped frame
74-
# is the one from __import__ above which we don't care about
74+
# is the one from __import__ above which we don't care about.
7575
if self.is_important_traceback(realname, tb):
7676
raise exc_type, exc_value, tb.tb_next
7777
continue
@@ -106,7 +106,7 @@ def is_important_frame(self, important_module, tb):
106106
if module_name == important_module:
107107
return True
108108

109-
# Some python verisons will will clean up modules so early that the
109+
# Some python versions will clean up modules so early that the
110110
# module name at that point is no longer set. Try guessing from
111111
# the filename then.
112112
filename = os.path.abspath(tb.tb_frame.f_code.co_filename)

0 commit comments

Comments
 (0)