code: def replace(self, **kwargs):
          
          # Deprecation value is hard coded as True in __init__ and therefore does not need to be passed through.
          return SlashSeparatedCourseKey(
              kwargs.pop('org', self.org),
              kwargs.pop('course', self.course),
              kwargs.pop('run', self.run),
              **kwargs
          )
docs: Return: a new :class:`SlashSeparatedCourseKey` with specific ``kwargs`` replacing
              their corresponding values.
  
          Using CourseLocator's replace function results in a mismatch of __init__ args and kwargs.
              Replace tries to instantiate a SlashSeparatedCourseKey object with CourseLocator args and kwargs.