FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Simplify SSLSocket / SSLObject doc string by tiran · Pull Request #9972 · python/cpython · GitHub

/ cpython Public

Simplify SSLSocket / SSLObject doc string - #9972

Merged
matrixise merged 1 commit into
python:masterfrom
tiran:sslcopydoc
May 17, 2019
Merged

Simplify SSLSocket / SSLObject doc string#9972
matrixise merged 1 commit into
python:masterfrom
tiran:sslcopydoc

Conversation

tiran commented Oct 19, 2018

Copy link
Copy Markdown
Member

Instead of maintaining the same doc string two times, let's copy common
doc strings from SSLObject methods and properties to SSLSocket.

Signed-off-by: Christian Heimes christian@python.org

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, nice hack :)

Comment thread Lib/ssl.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

nitpick: it's called a "docstring" (no space), no?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@tiran could you fix doc string? thanks

Instead of maintaining the same doc string two times, let's copy common
doc strings from SSLObject methods and properties to SSLSocket.

Signed-off-by: Christian Heimes <christian@python.org>
matrixise merged commit 80ed353 into python:master May 17, 2019

Copy link
Copy Markdown
Contributor

Thanks @tiran for the PR, and @matrixise for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

Copy link
Copy Markdown

GH-13384 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 17, 2019
Instead of maintaining the same doc string two times, let's copy common
doc strings from SSLObject methods and properties to SSLSocket.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 80ed353)

Co-authored-by: Christian Heimes <christian@python.org>

Copy link
Copy Markdown
Member

@tiran thanks

matrixise pushed a commit to matrixise/cpython that referenced this pull request May 17, 2019
Instead of maintaining the same doc string two times, let's copy common
doc strings from SSLObject methods and properties to SSLSocket.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit 80ed353)

Co-authored-by: Christian Heimes <christian@python.org>
matrixise pushed a commit that referenced this pull request May 17, 2019
Instead of maintaining the same docstring two times, let's copy common
docstrings from SSLObject methods and properties to SSLSocket.

(cherry picked from commit 80ed353)

Co-authored-by: Christian Heimes <christian@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL