Python Forum
Why args type is always tuple, when passed it as argument to the function.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why args type is always tuple, when passed it as argument to the function.
#6
Hi Gribouillis and Wavic,

Thanks for the reply and got clarified.

Regards,
Praveen
Reply


Messages In This Thread
RE: Why args type is always tuple, when passed it as argument to the function. - by praveena - Jan-16-2018, 09:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question how to type hint a function in a dataclass? Calab 3 1,034 Feb-27-2025, 04:40 AM
Last Post: Calab
  Extract args=, value that was passed to Multiprocessing.Proc object during runtime? haihal 1 738 Dec-08-2024, 07:04 AM
Last Post: Gribouillis
Question TypeError: argument of type 'NoneType' is not iterable Tajaldeen 7 3,461 Nov-29-2024, 09:45 AM
Last Post: Tajaldeen
  Is changing processes by using match with type function impossible? cametan 1 819 May-30-2024, 02:16 PM
Last Post: cametan
  [SOLVED] [listbox] Feed it with dict passed to class? Winfried 3 1,460 May-13-2024, 05:57 AM
Last Post: Larz60+
  How to receive two passed cmdline parameters and access them inside a Python script? pstein 2 1,463 Feb-17-2024, 12:29 PM
Last Post: deanhystad
  mutable argument in function definition akbarza 1 1,326 Dec-15-2023, 02:00 PM
Last Post: deanhystad
  determine parameter type in definition function akbarza 1 1,346 Aug-24-2023, 01:46 PM
Last Post: deanhystad
Question How to compare two parameters in a function that has *args? Milan 4 3,048 Mar-26-2023, 07:43 PM
Last Post: Milan
Information How to take url in telegram bot user input and put it as an argument in a function? askfriends 0 2,528 Dec-25-2022, 03:00 PM
Last Post: askfriends

Forum Jump:

User Panel Messages

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