class implementation

Piet van Oostrum piet at vanoostrum.org
Mon Sep 30 13:32:14 EDT 2013


markotaht at gmail.com writes:

> under variables, i mean, the int's and lists and strings and floats that the parent class uses. IF in parent class there is variable called location, then can i use the same variable in my sub class.

Do you mean class variables or instance variables?

-- 
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]



More information about the Python-list mailing list