I'm having trouble understanding if this is possible in the praw API: I'd like to get a list of all posts that have comments mentioning a keyword, say "python". It seems like the search function is always called form a specific subreddit, as in
for submission in reddit.subreddit("all").search("python", sort="comments", limit=None):
print(submission.title)
But won't this only return posts that have made it to r/all? How can I search all subreddits, without brute force searching one subreddit at a time?