Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

star kwargs and kwargs for say function #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brainysmurf
Copy link

Using mutable objects for default keyword arguments can result in hard-to-find bugs; beginners will likely find it to be a rabbit hole. So I suggest changing kwargs={} to the standard **kwargs.

Also, for the say function, it might be a good idea to think of it as a tricked-out print function; the print function has useful keyword arguments such as end, so added **kwargs to say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant