Skip to content

Commit

Permalink
Added useful programmer's representation.
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgregor committed Dec 10, 2023
1 parent a58ef17 commit 8117a37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions uri/scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def __bytes__(self):
def __str__(self):
return self.name

def __repr__(self):
return f"{self.__class__.__name__}('{self.name}')"

def is_relative(self, uri):
return False

Expand Down

0 comments on commit 8117a37

Please sign in to comment.