Python Forum
list of compliances of all special methods - examples
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
list of compliances of all special methods - examples
#1
hello,
we know that in the documentation of python3x all special methods of all data-types are listed in '3.3. Special method names'. but i was wondering is there in the internet a list of all ... compliances, substituents of all special methods which shows what stands behind every special method ( what operation corresponds with certain special method ) with examples like this:
__add__ - '+' - operator for lists and strings
>>> a
[1, 2, 3, 4, 9]
>>> b
[[1], [2], [3], [4], [9]]
>>> c = a + b
>>> c
[1, 2, 3, 4, 9, [1], [2], [3], [4], [9]]

and so on and so forth?
thanks in advance
Reply
#2
There is a tutorial here!
Reply
#3
Data Model
99 percent of computer problems exists between chair and keyboard.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  examples using os.walk() Skaperen 12 7,165 Mar-22-2021, 05:56 PM
Last Post: Skaperen
  features examples by release costa_shul 2 2,510 Sep-06-2020, 11:35 AM
Last Post: costa_shul
  WSGI working examples Skaperen 1 3,490 May-29-2017, 10:45 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

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