Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit ff1f24f

Browse files
Merge pull request #500 from Python-World/deepsource-fix-c323eedf
Change methods not using its bound instance to staticmethods
2 parents b9d17ee + df9b309 commit ff1f24f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Scripts/Web_Scrappers/Twitter_Sentiment_Analysis/twitter_sentiment_analysis.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def __init__(self):
2828
except:
2929
print("Error: Authentication Failed")
3030

31-
def clean_tweet(self, tweet):
31+
@staticmethod
32+
def clean_tweet(tweet):
3233
"""
3334
Removing links/special characters to clean up tweet
3435
"""

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /