lib/generators/Generator.py
def addStyleToTag(self, tag, style):
		"""Applies a style to a given tag name.

		@param tag: The tag name to apply to
		@param style: The style string
		"""

		valid = re.match(r'^[a-zA-Z_:][-a-zA-Z0-9_:\.]*$', tag)
		if valid:
			self.styles[tag] = self.parseStyle(style)
Applies a style to a given tag name.

		@param tag: The tag name to apply to
		@param style: The style string
		
Applies a style to a given tag name.
Applies a style to a given tag name .
def addStyleToTag(self, tag, style):
		valid = re.match(r'^[a-zA-Z_:][-a-zA-Z0-9_:\.]*$', tag)
		if valid:
			self.styles[tag] = self.parseStyle(style)
def addStyleToTag ( self , tag , style ) : valid = re . match ( r'^[a-zA-Z_:][-a-zA-Z0-9_:\.]*$' , tag ) if valid : self . styles [ tag ] = self . parseStyle ( style )
Applies a style to a given tag name.
Applies a style to a given tag name .
"""Applies a style to a given tag name.

		@param tag: The tag name to apply to
		@param style: The style string
		"""
self
tag
The tag name to apply to
The tag name to apply to
style
The style string
The style string