lib/generators/Generator.py
def addStyleToId(self, id=u'', style=u''):
		"""Applies a style to a given ID tag.

		@param id: The ID to apply to
		@param style: The style string
		"""

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

		@param id: The ID to apply to
		@param style: The style string
		
Applies a style to a given ID tag.
Applies a style to a given ID tag .
def addStyleToId(self, id=u'', style=u''):
		valid = re.match(r'^[a-zA-Z][-a-zA-Z0-9_:\.]*$', id)
		if valid:
			self.styles['#' + id] = self.parseStyle(style)
def addStyleToId ( self , id = u'' , style = u'' ) : valid = re . match ( r'^[a-zA-Z][-a-zA-Z0-9_:\.]*$' , id ) if valid : self . styles [ '#' + id ] = self . parseStyle ( style )
Applies a style to a given ID tag.
Applies a style to a given ID tag .
"""Applies a style to a given ID tag.

		@param id: The ID to apply to
		@param style: The style string
		"""
self
id
The ID to apply to
The ID to apply to
style
The style string
The style string