-
Updated
Dec 7, 2020
books
Here are 1,490 public repositories matching this topic...
-
Updated
Nov 27, 2020
-
Updated
Dec 6, 2020
-
Updated
Dec 2, 2020
-
Updated
Dec 1, 2020 - Shell
-
Updated
Jun 13, 2020 - Rich Text Format
-
Updated
Oct 13, 2020
-
Updated
Nov 16, 2020
-
Updated
Dec 4, 2020 - Makefile
-
Updated
Oct 11, 2020
-
Updated
Aug 20, 2020
-
Updated
Oct 18, 2019 - Makefile
-
Updated
Oct 15, 2020
-
Updated
Jun 15, 2020
-
Updated
Sep 30, 2020
-
Updated
Mar 18, 2020
Description
Mutable Default Arguments: https://docs.python-guide.org/writing/gotchas/
Do not use a mutable like list
or dictionary
as a default value to an argument. Python’s default arguments are evaluated once when the function is defined. Using a mutable default argument and mutating it will mutate that object for all future calls to the function as well.
Occurrences
There are
-
Updated
Dec 8, 2020
-
Updated
Nov 17, 2020
-
Updated
Oct 26, 2020
-
Updated
Jan 19, 2015
-
Updated
Aug 3, 2020
-
Updated
Sep 14, 2020
-
Updated
Dec 20, 2019
Improve this page
Add a description, image, and links to the books topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the books topic, visit your repo's landing page and select "manage topics."
if you are looking to contribute to Mind-Expanding Books, I would recommend focusing on improving the website which can be accessed at http://books.vishnuks.com/ (soon to get its own domain). The source code lives in
/app
directory.There are a ton of improvements that can be made to the website. I have some issues opened at https://github.com/hackerki