diff options
| author | 2020-12-12 04:27:29 +0100 | |
|---|---|---|
| committer | 2021-01-09 20:10:53 +0100 | |
| commit | f988d3ec07c4ca814fa5ddb47a6e064c4bb32461 (patch) | |
| tree | b3fce108576b2f350fb4beaddb932d59a8ab9516 | |
| parent | Change param styling to be consistent with the repo (diff) | |
Use string addition instead of join
With only two strings, the addition is a bit clearer than
constructing and joining a tuple
Co-authored-by: MarkKoz <[email protected]>
| -rw-r--r-- | bot/exts/info/doc/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py index 60e86353b..1b5eaa6d5 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -62,7 +62,7 @@ class DocItem(NamedTuple): @property def url(self) -> str: """Return the absolute url to the symbol.""" - return "".join((self.base_url, self.relative_url_path)) + return self.base_url + self.relative_url_path class QueueItem(NamedTuple): |