def submit_share(self, comment=None, title=None, description=None,
                     submitted_url=None, submitted_image_url=None,
                     visibility_code='anyone'):
        post = {
            'visibility': {
                'code': visibility_code,
            },
        }
        if comment is not None:
            post['comment'] = comment
        if title is not None and submitted_url is not None:
            post['content'] = {
                'title': title,
                'submitted-url': submitted_url,
                'description': description,
            }
        if submitted_image_url:
            post['content']['submitted-image-url'] = submitted_image_url

        url = ENDPOINTS.PEOPLE % '%s/~/shares'
        response = self.make_request('POST', url, data=json.dumps(post))
        raise_for_error(response)
        return response.json()
dataset/ETHPy150Open ozgur/python-linkedin/linkedin/linkedin.py/LinkedInApplication.submit_share/swapped operands of `%`