-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor subreddit.py for improved readability and maintainability
- Extracted logic into smaller functions: get_reddit_instance, get_subreddit, get_submission, and collect_comments - Added comments to explain the purpose of functions and key steps - Organized code for better structure and readability
- Loading branch information
Showing
1 changed file
with
87 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters