MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / is_pull_request

Function is_pull_request

tools/gh_api.py:181–183  ·  view source on GitHub ↗

Return True if the given issue is a pull request.

(issue)

Source from the content-addressed store, hash-verified

179 raise ValueError("milestone %s not found" % milestone)
180
181def is_pull_request(issue):
182 """Return True if the given issue is a pull request."""
183 return bool(issue.get('pull_request', {}).get('html_url', None))
184
185def get_authors(pr):
186 print("getting authors for #%i" % pr['number'], file=sys.stderr)

Callers 2

split_pullsFunction · 0.90
issues_closed_sinceFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…