Skip to content

Commit

Permalink
Minor docstring corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
zenlyj committed Nov 3, 2024
1 parent fb54477 commit d7ddc89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/u/used/used_before_assignment_nonlocal.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def inner():


def nonlocal_in_outer_frame_fail():
"""nonlocal declared in outer frame, bad usage and assignation in inner frame"""
"""Nonlocal declared in outer frame, bad usage and assignment in inner frame."""
num = 1
def outer():
nonlocal num
Expand All @@ -121,7 +121,7 @@ def inner():


def nonlocal_in_outer_frame_ok(callback, condition_a, condition_b):
"""nonlocal declared in outer frame, usage and definition in different frames"""
"""Nonlocal declared in outer frame, usage and definition in different frames."""
def outer():
nonlocal callback
if condition_a:
Expand Down

0 comments on commit d7ddc89

Please sign in to comment.