code: def _check_location_part(cls, val, regexp):
          
          cls._deprecation_warning()
          return CourseLocator._check_location_part(val, regexp)
docs: Deprecated. See CourseLocator._check_location_part