Skip to content

Commit 46977b6

Browse files
committed
irc: versionadded annotations for AbstractBot.make_identifier*()
1 parent 31e1c1e commit 46977b6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

sopel/irc/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,10 @@ def hostmask(self) -> Optional[str]:
227227
# Utility
228228

229229
def make_identifier(self, name: str) -> identifiers.Identifier:
230-
"""Instantiate an Identifier using the bot's context."""
230+
"""Instantiate an Identifier using the bot's context.
231+
232+
.. versionadded:: 8.0
233+
"""
231234
casemapping = {
232235
'ascii': identifiers.ascii_lower,
233236
'rfc1459': identifiers.rfc1459_lower,
@@ -260,6 +263,8 @@ def make_identifier_memory(self) -> memories.SopelIdentifierMemory:
260263
identifier_factory=bot.make_identifier,
261264
)
262265
266+
.. versionadded:: 8.0
267+
263268
.. seealso::
264269
265270
The :mod:`.tools.memories` module describes how to use

0 commit comments

Comments
 (0)