Skip to content
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

Some fixes and speed improvments #439

Merged
merged 4 commits into from Jul 12, 2020

Conversation

@alissonlauffer
Copy link
Contributor

@alissonlauffer alissonlauffer commented Jul 12, 2020

Changes

  • Use raw string in compiler/api/compiler.py re pattern.
  • Trim trailing whitespaces from docstrings and code.
  • Use isinstance() instead of type() for typechecking (isinstance is faster and the default way for typechecking).
  • Cleaned up unused imports, mostly due to old code that was removed (Imports declared in docstrings were kept, though).
@delivrance delivrance merged commit 531069b into pyrogram:develop Jul 12, 2020
@alissonlauffer alissonlauffer deleted the alissonlauffer:fixes-and-improvments branch Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.