Dobrý den, mám tu následující kód, nevíte proč my hodí python na poslední
řádek AttribueError? Pokouším se přepsat třídu  string ale nějak mi to
nejede...

#! /usr/bin/python
> # -*- coding: UTF-8 -*-
>
> class str(str):
>     asx = "mlam mlam"
>
>
> print str("asx").asx
> print "axs".asx
>
_______________________________________________
Python mailing list
Python@py.cz
http://www.py.cz/mailman/listinfo/python

Odpovedet emailem