@@ -137,7 +137,7 @@ def eval(self, code, **vars):
137137 def exec_ (self , code , ** vars ):
138138 """ exec 'code' in the frame
139139
140- 'vars' are optiona ; additional local variables
140+ 'vars' are optional ; additional local variables
141141 """
142142 f_locals = self .f_locals .copy ()
143143 f_locals .update (vars )
@@ -207,7 +207,7 @@ def path(self):
207207
208208 @property
209209 def locals (self ):
210- """ locals of underlaying frame """
210+ """ locals of underlying frame """
211211 return self .frame .f_locals
212212
213213 def getfirstlinesource (self ):
@@ -274,7 +274,7 @@ def __str__(self):
274274
275275 @property
276276 def name (self ):
277- """ co_name of underlaying code """
277+ """ co_name of underlying code """
278278 return self .frame .code .raw .co_name
279279
280280
@@ -302,7 +302,7 @@ def f(cur):
302302 def cut (self , path = None , lineno = None , firstlineno = None , excludepath = None ):
303303 """ return a Traceback instance wrapping part of this Traceback
304304
305- by provding any combination of path, lineno and firstlineno, the
305+ by providing any combination of path, lineno and firstlineno, the
306306 first frame to start the to-be-returned traceback is determined
307307
308308 this allows cutting the first part of a Traceback instance e.g.
@@ -1008,7 +1008,7 @@ def __init__(self, path, lineno, message):
10081008
10091009 def toterminal (self , tw ) -> None :
10101010 # filename and lineno output for each entry,
1011- # using an output format that most editors unterstand
1011+ # using an output format that most editors understand
10121012 msg = self .message
10131013 i = msg .find ("\n " )
10141014 if i != - 1 :
0 commit comments