Python Forum
concatenating list with tuple
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
concatenating list with tuple
#3
i assume __add__ came first, probably from GvR as part of the original design before the simplification of iterators. and __iadd__ came later, after the simplification of iterators and __add__ hasn't been updated, yet, to have consistency. maybe in Python4? maybe in some other implementation?
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
concatenating list with tuple - by Skaperen - Sep-23-2018, 08:34 PM
RE: concatenating list with tuple - by gruntfutuk - Sep-27-2018, 11:21 AM
RE: concatenating list with tuple - by Skaperen - Sep-27-2018, 08:27 PM
RE: concatenating list with tuple - by gruntfutuk - Sep-27-2018, 09:30 PM
RE: concatenating list with tuple - by Skaperen - Sep-27-2018, 11:48 PM
RE: concatenating list with tuple - by Skaperen - Sep-28-2018, 01:36 AM
RE: concatenating list with tuple - by gruntfutuk - Sep-28-2018, 05:48 AM
RE: concatenating list with tuple - by Skaperen - Sep-28-2018, 05:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  using > < for tuple , list,... akbarza 3 546 Feb-05-2024, 01:18 PM
Last Post: deanhystad
Question mypy unable to analyse types of tuple elements in a list comprehension tomciodev 1 530 Oct-17-2023, 09:46 AM
Last Post: tomciodev
  Change font in a list or tuple apffal 4 2,764 Jun-16-2023, 02:55 AM
Last Post: schriftartenio
  search a list or tuple for a specific type ot class Skaperen 8 2,027 Jul-22-2022, 10:29 PM
Last Post: Skaperen
  why is my list a tuple CompleteNewb 7 2,322 Mar-17-2022, 10:09 PM
Last Post: CompleteNewb
  in a list or tuple Skaperen 6 104,555 May-16-2021, 09:59 PM
Last Post: Skaperen
  Create SQLite columns from a list or tuple? snakes 6 8,878 May-04-2021, 12:06 PM
Last Post: snakes
  What type of *data* is the name of a list/tuple/dict, etc? alloydog 9 4,514 Jan-30-2021, 07:11 AM
Last Post: alloydog
  code with no tuple gets : IndexError: tuple index out of range Aggam 4 2,915 Nov-04-2020, 11:26 AM
Last Post: Aggam
  concatenating 2 items at a time in a python list K11 3 2,419 Oct-21-2020, 09:34 AM
Last Post: buran

Forum Jump:

User Panel Messages

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