Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

self argument in python


# NOT like *this pointer, Must be passed as function argument
class check:
    def __init__(self):
        print("Address of self = ",id(self))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #argument #python
ADD COMMENT
Topic
Name
4+8 =