8000 Change type() into isinstance() by sveinse · Pull Request #357 · canopen-python/canopen · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@sveinse
Copy link
Collaborator
@sveinse sveinse commented Mar 25, 2023

It is generally preferred to use isinstance() over type() for checking the type of objects. This PR makes some minor cleanups on the use of type().

@christiansandberg christiansandberg merged commit 5efd421 into canopen-python:master Apr 3, 2023
@sveinse sveinse deleted the feature-fix-typechecks branch April 5, 2023 07:27
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