From 7207cd374721fbb99a89831521a5666c8798097e Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 28 May 2024 22:09:56 -0400 Subject: [PATCH] misc(seautils): improved the rfc docstring --- seautils/seautils.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/seautils/seautils.py b/seautils/seautils.py index 3281583..2084062 100644 --- a/seautils/seautils.py +++ b/seautils/seautils.py @@ -205,14 +205,10 @@ class SeaUtils(commands.Cog): This command uses the [RFC Editor website](https://www.rfc-editor.org/) to fetch the text of an RFC document. `number` refers to the number of the RFC document you wish to retrieve. - Modified excerpt from the RFC Editor website: - >>> The RFC Series (ISSN 2070-1721) contains technical and organizational documents about the Internet, - including the specifications and policy documents produced by five streams: - - [Internet Engineering Task Force](https://www.ietf.org/) - - [Internet Research Task Force](https://www.irtf.org/) - - [Internet Architecture Board](https://www.iab.org/) - - [Independent Submissions](https://www.rfc-editor.org/independent) - - [Editorial](https://www.rfc-editor.org/info/rfc9280)""" + Modified excerpt from [Wikipedia](https://en.wikipedia.org/wiki/Request_for_Comments): + >>> A Request for Comments (RFC) is a publication in a series from the principal technical development and standards-setting bodies for the [Internet](https://en.wikipedia.org/wiki/Internet), most prominently the [Internet Engineering Task Force](https://en.wikipedia.org/wiki/Internet_Engineering_Task_Force). + An RFC is authored by individuals or groups of engineers and [computer scientists](https://en.wikipedia.org/wiki/Computer_scientist) in the form of a [memorandum](https://en.wikipedia.org/wiki/Memorandum) describing methods, behaviors, research, or innovations applicable to the working of the Internet and Internet-connected systems. + It is submitted either for [peer review](https://en.wikipedia.org/wiki/Peer_review) or to convey new concepts, information, or, occasionally, engineering humor.""" # noqa: E501 url = f"https://www.rfc-editor.org/rfc/rfc{number}.html" async with aiohttp.ClientSession() as session: async with session.get(url=url) as response: