diff options
author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-01-15 19:27:55 +0000 |
---|---|---|
committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2023-01-15 19:27:55 +0000 |
commit | 05913a774ed723da7b177bbbf47544e7fd40e515 (patch) | |
tree | d751e9b95cf693c707159f5d6be533f50063f6cf | |
parent | 7c60a59d1b5e83d9f5fba0e87ad71ec5ec8b02cf (diff) | |
download | docutils-05913a774ed723da7b177bbbf47544e7fd40e515.tar.gz |
Drop not required parentheses.
Line continuation works also without parentheses inside `{}`.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9315 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r-- | docutils/docutils/utils/urischemes.py | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/docutils/docutils/utils/urischemes.py b/docutils/docutils/utils/urischemes.py index 0020148f8..5a4bd9cc2 100644 --- a/docutils/docutils/utils/urischemes.py +++ b/docutils/docutils/utils/urischemes.py @@ -23,16 +23,16 @@ schemes = { 'chttp': 'cached HTTP supported by RealPlayer', 'cid': 'content identifier; RFC 2392', 'crid': 'TV-Anytime Content Reference Identifier; RFC 4078', - 'data': ('allows inclusion of small data items as "immediate" data; ' - 'RFC 2397'), + 'data': 'allows inclusion of small data items as "immediate" data; ' + 'RFC 2397', 'dav': 'Distributed Authoring and Versioning Protocol; RFC 2518', 'dict': 'dictionary service protocol; RFC 2229', 'dns': 'Domain Name System resources', - 'eid': ('External ID; non-URL data; general escape mechanism to allow ' - 'access to information for applications that are too ' - 'specialized to justify their own schemes'), - 'fax': ('a connection to a terminal that can handle telefaxes ' - '(facsimiles); RFC 2806'), + 'eid': 'External ID; non-URL data; general escape mechanism to allow ' + 'access to information for applications that are too ' + 'specialized to justify their own schemes', + 'fax': 'a connection to a terminal that can handle telefaxes ' + '(facsimiles); RFC 2806', 'feed': 'NetNewsWire feed', 'file': 'Host-specific file names; RFC 1738', 'finger': '', @@ -40,18 +40,18 @@ schemes = { 'ftp': 'File Transfer Protocol; RFC 1738', 'go': 'go; RFC 3368', 'gopher': 'The Gopher Protocol', - 'gsm-sms': ('Global System for Mobile Communications Short Message ' - 'Service'), - 'h323': ('video (audiovisual) communication on local area networks; ' - 'RFC 3508'), - 'h324': ('video and audio communications over low bitrate connections ' - 'such as POTS modem connections'), + 'gsm-sms': 'Global System for Mobile Communications Short Message ' + 'Service', + 'h323': 'video (audiovisual) communication on local area networks; ' + 'RFC 3508', + 'h324': 'video and audio communications over low bitrate connections ' + 'such as POTS modem connections', 'hdl': 'CNRI handle system', 'hnews': 'an HTTP-tunneling variant of the NNTP news protocol', 'http': 'Hypertext Transfer Protocol; RFC 2616', 'https': 'HTTP over SSL; RFC 2818', - 'hydra': ('SubEthaEdit URI. ' - 'See http://www.codingmonkeys.de/subethaedit.'), + 'hydra': 'SubEthaEdit URI. ' + 'See http://www.codingmonkeys.de/subethaedit.', 'iioploc': 'Internet Inter-ORB Protocol Location?', 'ilu': 'Inter-Language Unification', 'im': 'Instant Messaging; RFC 3860', @@ -63,8 +63,8 @@ schemes = { 'iris.beep': 'iris.beep; RFC 3983', 'iseek': 'See www.ambrosiasw.com; a little util for OS X.', 'jar': 'Java archive', - 'javascript': ('JavaScript code; ' - 'evaluates the expression after the colon'), + 'javascript': 'JavaScript code; ' + 'evaluates the expression after the colon', 'jdbc': 'JDBC connection URI.', 'ldap': 'Lightweight Directory Access Protocol', 'lifn': '', @@ -76,8 +76,8 @@ schemes = { 'md5': '', 'mid': 'message identifier; RFC 2392', 'mocha': '', - 'modem': ('a connection to a terminal that can handle incoming data ' - 'calls; RFC 2806'), + 'modem': 'a connection to a terminal that can handle incoming data ' + 'calls; RFC 2806', 'mtqp': 'Message Tracking Query Protocol; RFC 3887', 'mupdate': 'Mailbox Update (MUPDATE) Protocol; RFC 3656', 'news': 'USENET news; RFC 1738', @@ -90,8 +90,8 @@ schemes = { 'pres': 'Presence; RFC 3859', 'printer': '', 'prospero': 'Prospero Directory Service; RFC 4157', - 'rdar': ('URLs found in Darwin source ' - '(http://www.opensource.apple.com/darwinsource/).'), + 'rdar': 'URLs found in Darwin source ' + '(http://www.opensource.apple.com/darwinsource/).', 'res': '', 'rtsp': 'real time streaming protocol; RFC 2326', 'rvp': '', @@ -111,10 +111,10 @@ schemes = { 't120': 'real time data conferencing (audiographics)', 'tag': 'RFC 4151', 'tcp': '', - 'tel': ('a connection to a terminal that handles normal voice ' - 'telephone calls, a voice mailbox or another voice messaging ' - 'system or a service that can be operated using DTMF tones; ' - 'RFC 3966.'), + 'tel': 'a connection to a terminal that handles normal voice ' + 'telephone calls, a voice mailbox or another voice messaging ' + 'system or a service that can be operated using DTMF tones; ' + 'RFC 3966.', 'telephone': 'telephone', 'telnet': 'Reference to interactive sessions; RFC 4248', 'tftp': 'Trivial File Transfer Protocol; RFC 3617', @@ -129,8 +129,8 @@ schemes = { 'wais': 'Wide Area Information Servers; RFC 4156', 'whodp': '', 'whois++': 'Distributed directory service.', - 'x-man-page': ('Opens man page in Terminal.app on OS X ' - '(see macosxhints.com)'), + 'x-man-page': 'Opens man page in Terminal.app on OS X ' + '(see macosxhints.com)', 'xmlrpc.beep': 'RFC 3529', 'xmlrpc.beeps': 'RFC 3529', 'z39.50r': 'Z39.50 Retrieval; RFC 2056', |