Timeline for How do I merge two dictionaries in a single expression in Python?
Current License: CC BY-SA 4.0
21 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2023 at 9:30 | comment | added | mLstudent33 | This didn't work. I got keys as values in the combined dict. | |
S Mar 2, 2023 at 16:18 | history | suggested | Erik Fubel | CC BY-SA 4.0 |
Brevity + Improve formatting of code snippets
|
Mar 2, 2023 at 12:58 | review | Suggested edits | |||
S Mar 2, 2023 at 16:18 | |||||
Sep 29, 2022 at 21:28 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Brevity.
|
Oct 30, 2020 at 21:08 | history | rollback | Nikita Vlasenko |
Rollback to Revision 12
|
|
Oct 30, 2020 at 21:08 | history | rollback | Nikita Vlasenko |
Rollback to Revision 11
|
|
Oct 30, 2020 at 21:05 | history | edited | Nikita Vlasenko | CC BY-SA 4.0 |
sorry, was wrong correction previously
|
Oct 30, 2020 at 20:42 | history | edited | Nikita Vlasenko | CC BY-SA 4.0 |
Removed code that does not work with python 2. Need to convert `dict_items` type to `list` type for `+` operation to work
|
Jul 9, 2020 at 17:28 | history | edited | Nico Schlömer | CC BY-SA 4.0 |
put python 3 first, add syntax highlighting
|
S Apr 10, 2020 at 6:46 | history | suggested | Rajnish kumar | CC BY-SA 4.0 |
Better way to do, which is included in new Version of Python
|
Apr 9, 2020 at 15:13 | review | Suggested edits | |||
S Apr 10, 2020 at 6:46 | |||||
Mar 11, 2020 at 17:22 | comment | added | Gringo Suave | Don't use this as it is very inefficient. (See the timeit results below.) It may have been necessary in the Py2 days if a wrapper function was not an option, but those days are now past. | |
Aug 29, 2018 at 17:18 | history | rollback | wim |
Rollback to Revision 6
|
|
Aug 29, 2018 at 17:11 | history | edited | wim | CC BY-SA 4.0 |
deleted 17 characters in body
|
Mar 3, 2016 at 15:52 | history | edited | Thomas Vander Stichele | CC BY-SA 3.0 |
clarify that b is a key in a dict based on edit history which showed confusion
|
Jan 29, 2016 at 0:36 | history | edited | Ivelin | CC BY-SA 3.0 |
edited body
|
Jan 29, 2016 at 0:26 | history | edited | Ivelin | CC BY-SA 3.0 |
typo
|
Aug 27, 2012 at 16:18 | history | edited | Kirk Woll | CC BY-SA 3.0 |
added 12 characters in body
|
Sep 7, 2011 at 10:20 | history | edited | Thomas Vander Stichele | CC BY-SA 3.0 |
add python 3
|
May 16, 2011 at 18:12 | vote | accept | Carl Meyer | ||
Feb 28, 2015 at 1:22 | |||||
Sep 2, 2008 at 7:50 | history | answered | Thomas Vander Stichele | CC BY-SA 2.5 |