Skip to content

Commit

Permalink
Fix spelling and grammar in some comments (#908)
Browse files Browse the repository at this point in the history
I'm going to go ahead and land this, I don't think it needs review
  • Loading branch information
stroxler committed Apr 13, 2023
1 parent f936db2 commit f0a4d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcst/codemod/commands/convert_type_comments.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def leave_With(
# able to extract type information. This is done via mutable state and the
# usual visitor pattern.
# (B) we also manually reach down to the first statement inside of the
# funciton body and aggressively strip type comments from leading
# function body and aggressively strip type comments from leading
# whitespaces
#
# PEP 484 underspecifies how to apply type comments to (non-static)
Expand Down Expand Up @@ -786,7 +786,7 @@ def visit_FunctionDef_body(
self,
node: cst.FunctionDef,
) -> None:
"Turn off aggressive type comment removal when we've leaved the header."
"Turn off aggressive type comment removal when we've left the header."
self.aggressively_strip_type_comments = False

def leave_IndentedBlock(
Expand Down

0 comments on commit f0a4d62

Please sign in to comment.