swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 383 forks source link

Small addition to "defining a function" in Python #860

Closed shwina closed 8 years ago

shwina commented 9 years ago

This is my PR as part of SWC instructor training. It's a tiny addition, but I think that mentioning the colon is important (I still forget sometimes!)

rgaiacs commented 9 years ago

What about "which is followed by the name of the function, a parenthesized list of parameter names (our tiny function above has just one) and ends with a colon (:)."

shwina commented 9 years ago

@r-gaia-cs

Thank you! Is this okay?

olafleur commented 9 years ago

Looks good!

rgaiacs commented 9 years ago

+1.