code: def get_submission(self, url=None, submission_id=None, comment_limit=0,
                         comment_sort=None, params=None):
          if bool(url) == bool(submission_id):
              raise TypeError('One (and only one) of id or url is required!')
          if submission_id:
              url = urljoin(self.config['comments'], submission_id)
          return objects.Submission.from_url(self, url,
                                             comment_limit=comment_limit,
                                             comment_sort=comment_sort,
                                             params=params)