parameters: (self, text_colour)
return_statement: return text_colour
docstring: Creates a suitable wxPython colour for the text starting from a `xlrd`
          tuple representing this colour.
  
          :param `text_colour`: a tuple representing the RGB components of the
           colour. If `text_colour` is ``None``, use the default ``wx.SYS_COLOUR_WINDOWTEXT``.
docstring_summary: Creates a suitable wxPython colour for the text starting from a `xlrd`
          tuple representing this colour.
docstring_tokens: Creates a suitable wxPython colour for the text starting from a xlrd tuple representing this colour .
function: def CreateTextColour(self, text_colour):
          """
          Creates a suitable wxPython colour for the text starting from a `xlrd`
          tuple representing this colour.
  
          :param `text_colour`: a tuple representing the RGB components of the
           colour. If `text_colour` is ``None``, use the default ``wx.SYS_COLOUR_WINDOWTEXT``.
          """
          
          if text_colour is not None:
              text_colour = wx.Colour(*text_colour)
          else:
              text_colour = wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWTEXT)
  
          return text_colour
function_tokens: def CreateTextColour ( self , text_colour ) : if text_colour is not None : text_colour = wx . Colour ( * text_colour ) else : text_colour = wx . SystemSettings . GetColour ( wx . SYS_COLOUR_WINDOWTEXT ) return text_colour