Skip to content

Refactor original code to remove reference to Abstract Base Class #12

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 2 commits into from
Nov 10, 2021

Conversation

fourstix
Copy link
Owner

Abstract Base Class is available in Python 3 but not Circuit Python. There have been some pull requests to address this, but they introduced some side issues. This PR refactors the original code to address these issues and the original issues. References to ABC and abstractmethod are removed from the code, keeping the changes to a minimum.

@fourstix
Copy link
Owner Author

Merging this pull request should remove references to Python 3 only code, ie ABC and abstractmethod, that are not available in CircuitPython. This pull request deletes an extraneous file introduced in earlier pull requests.

@fourstix fourstix merged commit 55f787a into master Nov 10, 2021
@fourstix fourstix deleted the b_refactor branch November 10, 2021 22:17
adafruit-adabot added a commit to adafruit/CircuitPython_Community_Bundle that referenced this pull request Nov 11, 2021
Updating https://github.com/fourstix/Sparkfun_CircuitPython_SerLCD to 1.0.2 from 1.0.1:
  > Merge pull request fourstix/Sparkfun_CircuitPython_SerLCD#13 from fourstix/fourstix-patch-1
  > Merge pull request fourstix/Sparkfun_CircuitPython_SerLCD#12 from fourstix/b_refactor
  > Merge pull request fourstix/Sparkfun_CircuitPython_SerLCD#9 from PaulskPt/branch_psk
  > Merge pull request fourstix/Sparkfun_CircuitPython_SerLCD#6 from mitag/NoAbstracts
  > Merge pull request fourstix/Sparkfun_CircuitPython_SerLCD#2 from mcauser/patch-1
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.

1 participant