Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 243d6d7

Browse files
gerrithollMariatta
authored andcommitted
DOC: fix documentation for copyright and credits (GH-5706)
Adapt documentation for `copyright` and `credits` to reality. Previously, the documentation implied that all each of `copyright`, `credits`, and `license`, would print a message to call the object in order to see the full text. In reality, only `license` exhibits this behaviour, and `copyright` and `credit` print their full text either when printed, displayed, or called.
1 parent 6887d86 commit 243d6d7

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Doc/library/constants.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,14 @@ should not be used in programs.
8686
specified exit code.
8787

8888
.. data:: copyright
89-
license
9089
credits
9190

92-
Objects that when printed, print a message like "Type license() to see the
93-
full license text", and when called, display the corresponding text in a
91+
Objects that when printed or called, print the text of copyright or
92+
credits, respectively.
93+
94+
.. data:: license
95+
96+
Object that when printed, prints the message "Type license() to see the
97+
full license text", and when called, displays the full license text in a
9498
pager-like fashion (one screen at a time).
9599

0 commit comments

Comments
 (0)