third_party/blink/tools/blinkpy/w3c/wpt_github.py
def remove_label(self, number, label):
        """Removes a label from a GitHub issue (or PR).

        API doc: https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue
        """
        path = '/repos/%s/%s/issues/%d/labels/%s' % (
            WPT_GH_ORG,
            WPT_GH_REPO_NAME,
            number,
            quote(label),
        )
        response = self.request(path, method='DELETE')

        # The GitHub API documentation claims that this endpoint returns a 204
        # on success. However in reality it returns a 200.
        if response.status_code not in (200, 204):
            raise GitHubError(
                (200, 204), response.status_code,
                'remove label %s from issue %d' % (label, number))
Removes a label from a GitHub issue (or PR).

        API doc: https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue
        
Removes a label from a GitHub issue (or PR).
Removes a label from a GitHub issue ( or PR ) .
def remove_label(self, number, label):
        path = '/repos/%s/%s/issues/%d/labels/%s' % (
            WPT_GH_ORG,
            WPT_GH_REPO_NAME,
            number,
            quote(label),
        )
        response = self.request(path, method='DELETE')
        if response.status_code not in (200, 204):
            raise GitHubError(
                (200, 204), response.status_code,
                'remove label %s from issue %d' % (label, number))
def remove_label ( self , number , label ) : path = '/repos/%s/%s/issues/%d/labels/%s' % ( WPT_GH_ORG , WPT_GH_REPO_NAME , number , quote ( label ) , ) response = self . request ( path , method = 'DELETE' ) if response . status_code not in ( 200 , 204 ) : raise GitHubError ( ( 200 , 204 ) , response . status_code , 'remove label %s from issue %d' % ( label , number ) )
Removes a label from a GitHub issue (or PR).
Removes a label from a GitHub issue ( or PR ) .
"""Removes a label from a GitHub issue (or PR).

        API doc: https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue
        """ # The GitHub API documentation claims that this endpoint returns a 204 # on success. However in reality it returns a 200.
self
number
label