Python Forum
arg and keyword arg conflict: what to raise
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
arg and keyword arg conflict: what to raise
#6
so, basically, the function being called the wrong way, is treating it as a type other than what it really is. i found a more like example random.choices() when used with an argument provided twice, raised TypeError, too. that's what i'll use.
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
RE: arg and keyword arg conflict: what to raise - by Skaperen - Jun-22-2020, 12:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  shouldn't this raise an exception? Skaperen 3 2,898 Dec-11-2021, 06:31 PM
Last Post: Skaperen
  annoying conflict: stat Skaperen 2 2,262 Dec-26-2019, 06:04 AM
Last Post: Skaperen
  venv conflict at shell prompt Skaperen 3 2,902 Feb-21-2019, 02:18 AM
Last Post: Larz60+
  import time conflict Skaperen 2 2,910 Oct-15-2017, 07:44 AM
Last Post: wavic

Forum Jump:

User Panel Messages

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