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

Remove superfluous __unicode__ declarations #905

Merged
merged 1 commit into from Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions babel/dates.py
Expand Up @@ -1281,9 +1281,6 @@ def __init__(self, pattern, format):
def __repr__(self):
return '<%s %r>' % (type(self).__name__, self.pattern)

def __unicode__(self):
return self.pattern

def __str__(self):
pat = self.pattern
return pat
Expand Down
3 changes: 0 additions & 3 deletions babel/support.py
Expand Up @@ -207,9 +207,6 @@ def __len__(self):
def __str__(self):
return str(self.value)

def __unicode__(self):
return unicode(self.value)

def __add__(self, other):
return self.value + other

Expand Down