Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dictionary merge
#3
i am going to:
my_function(**merged_dict)
and that will be the only use for the merged dictionary ... both parts being used for keyword arguments in the function call ... like:
my_function(**{**dicta,**dictb})
is that the way to do it even for keyword arguments?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
dictionary merge - by Skaperen - Jan-16-2020, 02:19 AM
RE: dictionary merge - by snippsat - Jan-16-2020, 04:04 AM
RE: dictionary merge - by Skaperen - Jan-16-2020, 07:11 AM
RE: dictionary merge - by buran - Jan-16-2020, 07:50 AM
RE: dictionary merge - by perfringo - Jan-16-2020, 08:05 AM
RE: dictionary merge - by Skaperen - Jan-17-2020, 01:28 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020