aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2020-12-12 04:27:29 +0100
committerGravatar Numerlor <[email protected]>2021-01-09 20:10:53 +0100
commitf988d3ec07c4ca814fa5ddb47a6e064c4bb32461 (patch)
treeb3fce108576b2f350fb4beaddb932d59a8ab9516
parentChange 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.py2
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):