static methods

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sun Mar 25 16:21:24 EST 2001


Sun, 25 Mar 2001 12:37:43 -0800, Paul Prescod <paulp at ActiveState.com> pisze:

> Doh! Okay, it will work if you add it to the instances in the __init__:
> 
> class Class:
> 	def __init__(self):
> 		self.staticmethod = _static

What is static in this method?

(You can't get it from the class for example, but need an instance.)

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list