Skip to content

Commit 7341690

Browse files
authored
Merge pull request #6951 from tswast/patch-1
2 parents c65c780 + 6716d7c commit 7341690

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
# General information about the project.
6060
project = u"Requests"
61-
copyright = u'MMXVIX. A <a href="https://kenreitz.org/projects">Kenneth Reitz</a> Project'
61+
copyright = u'MMXVIX. A Kenneth Reitz Project'
6262
author = u"Kenneth Reitz"
6363

6464
# The version info for the project you're documenting, acts as replacement for

docs/dev/contributing.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,17 @@ The guide is split into sections based on the type of contribution you're
2222
thinking of making, with a section that covers general guidelines for all
2323
contributors.
2424

25-
Be Cordial
26-
----------
25+
Code of Conduct
26+
---------------
2727

28-
**Be cordial or be on your way**. *—Kenneth Reitz*
28+
The Python community is made up of members from around the globe with a diverse
29+
set of skills, personalities, and experiences. It is through these differences
30+
that our community experiences great successes and continued growth. When you're
31+
working with members of the community, follow the
32+
`Python Software Foundation Code of Conduct`_ to help steer your interactions
33+
and keep Python a positive, successful, and growing community.
2934

30-
Requests has one very important rule governing all forms of contribution,
31-
including reporting bugs or requesting features. This golden rule is
32-
"`be cordial or be on your way`_".
33-
34-
**All contributions are welcome**, as long as
35-
everyone involved is treated with respect.
36-
37-
.. _be cordial or be on your way: https://kenreitz.org/essays/2013/01/27/be-cordial-or-be-on-your-way
35+
.. _Python Software Foundation Code of Conduct: https://policies.python.org/python.org/code-of-conduct/
3836

3937
.. _early-feedback:
4038

docs/user/advanced.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -969,11 +969,9 @@ Requests will automatically parse these link headers and make them easily consum
969969
Transport Adapters
970970
------------------
971971

972-
As of v1.0.0, Requests has moved to a modular internal design. Part of the
973-
reason this was done was to implement Transport Adapters, originally
974-
`described here`_. Transport Adapters provide a mechanism to define interaction
975-
methods for an HTTP service. In particular, they allow you to apply per-service
976-
configuration.
972+
As of v1.0.0, Requests has moved to a modular internal design using Transport
973+
Adapters. These objects provide a mechanism to define interaction methods for an
974+
HTTP service. In particular, they allow you to apply per-service configuration.
977975

978976
Requests ships with a single Transport Adapter, the :class:`HTTPAdapter
979977
<requests.adapters.HTTPAdapter>`. This adapter provides the default Requests
@@ -1053,7 +1051,6 @@ backoff, within a Requests :class:`Session <requests.Session>` using the
10531051
)
10541052
s.mount('https://', HTTPAdapter(max_retries=retries))
10551053

1056-
.. _`described here`: https://kenreitz.org/essays/2012/06/14/the-future-of-python-http
10571054
.. _`urllib3`: https://github.com/urllib3/urllib3
10581055
.. _`urllib3.util.Retry`: https://urllib3.readthedocs.io/en/stable/reference/urllib3.util.html#urllib3.util.Retry
10591056

0 commit comments

Comments
 (0)