8000 Merge multiple isinstance() calls to one by jdufresne · Pull Request #6481 · encode/django-rest-framework · GitHub
[go: up one dir, main page]

Skip to content

Merge multiple isinstance() calls to one #6481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2019
Merged

Merge multiple isinstance() calls to one #6481

merged 1 commit into from
Mar 2, 2019

Conversation

jdufresne
Copy link
Contributor

https://docs.python.org/3/library/functions.html#isinstance

If classinfo is a tuple of type objects (or recursively, other such
tuples), return true if object is an instance of any of the types.

https://docs.python.org/3/library/functions.html#isinstance

> If classinfo is a tuple of type objects (or recursively, other such
> tuples), return true if object is an instance of any of the types.
@tomchristie tomchristie merged commit a216d02 into encode:master Mar 2, 2019
@jdufresne jdufresne deleted the isinstance branch May 1, 2019 13:07
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
https://docs.python.org/3/library/functions.html#isinstance

> If classinfo is a tuple of type objects (or recursively, other such
> tuples), return true if object is an instance of any of the types.
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
https://docs.python.org/3/library/functions.html#isinstance

> If classinfo is a tuple of type objects (or recursively, other such
> tuples), return true if object is an instance of any of the types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0