Adendakis / pysvg

Automatically exported from code.google.com/p/pysvg
0 stars 0 forks source link

pysvg.animate.set hides Python's set keyword #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There's no way to access Python's set (or is there?) if your program begins as 
follows:

from pysvg.filter import *
from pysvg.gradient import *
from pysvg.linking import *
from pysvg.script import *
from pysvg.shape import *
from pysvg.structure import *
from pysvg.style import *
from pysvg.text import *
from pysvg.builders import *

The reason is that pysvg.animate.set hides Python's set keyword. Could PySVG 
rename this object to something else?

Original issue reported on code.google.com by baoille...@gmail.com on 7 Apr 2011 at 1:42

GoogleCodeExporter commented 9 years ago
You could use an import alias. Something like: from pysvg.animate import set as 
_set

Original comment by clc...@gmail.com on 14 May 2011 at 8:04

GoogleCodeExporter commented 9 years ago
Will rename set.

Original comment by kerim.ma...@gmail.com on 21 Jul 2011 at 10:46