Commit abe7b2ac authored by Myles Hollowed's avatar Myles Hollowed Committed by GitHub

Fix typo

parent 1b01b040
...@@ -387,7 +387,7 @@ Extension Types and None ...@@ -387,7 +387,7 @@ Extension Types and None
* Be very aware of exposing Python functions that take extension types as arguments:: * Be very aware of exposing Python functions that take extension types as arguments::
def widen_shrubbery(Shrubbery sh, extra_width): # This is def widen_shrubbery(Shrubbery sh, extra_width): # This is dangerous
sh.width = sh.width + extra_width sh.width = sh.width + extra_width
* Users could **crash** the program by passing ``None`` for the ``sh`` parameter. * Users could **crash** the program by passing ``None`` for the ``sh`` parameter.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment