code: def _normalize(self):
          
          # Get length
          L = self.norm()
          if not L:
              raise ValueError('Quaternion cannot have 0-length.')
          # Correct
          self.w /= L
          self.x /= L
          self.y /= L
          self.z /= L
docs: Make the quaternion unit length.