@classmethod<EOL><INDENT>def _from_tck(cls, tck):<DEDENT>
self = cls.__new__(cls)<EOL>if len(tck) != <NUM_LIT:5>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.tck = tck[:<NUM_LIT:3>]<EOL>self.degrees = tck[<NUM_LIT:3>:]<EOL>return self<EOL>
Construct a spline object from given tck and degree