Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Some fixes and speed improvments#439

Merged
delivrance merged 4 commits intopyrogram:developfrom
alissonlauffer:fixes-and-improvments
Jul 12, 2020
Merged

Some fixes and speed improvments#439
delivrance merged 4 commits intopyrogram:developfrom
alissonlauffer:fixes-and-improvments

Conversation

@alissonlauffer
Copy link
Copy Markdown
Contributor

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 fixes-and-improvments branch November 11, 2020 16:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants