File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,10 @@ should not be used in programs.
114
114
credits
115
115
116
116
Objects that when printed or called, print the text of copyright or
117
- credits, respectively.
117
+ credits, respectively (see :func: ` copyright ` and :func: ` credits `) .
118
118
119
119
.. data :: license
120
120
121
121
Object that when printed, prints the message "Type license() to see the
122
122
full license text", and when called, displays the full license text in a
123
- pager-like fashion (one screen at a time ).
123
+ pager-like fashion (see :func: ` license ` ).
Original file line number Diff line number Diff line change @@ -456,6 +456,20 @@ are always available. They are listed here in alphabetical order.
456
456
deprecated; it should only be passed as a single positional argument.
457
457
458
458
459
+ .. function :: copyright()
460
+
461
+ Print the full :data: `copyright ` text.
462
+
463
+ This function is added to the built-in namespace by the :mod: `site ` module.
464
+
465
+
466
+ .. function :: credits()
467
+
468
+ Print the full :data: `credits ` text.
469
+
470
+ This function is added to the built-in namespace by the :mod: `site ` module.
471
+
472
+
459
473
.. function :: delattr(object, name, /)
460
474
461
475
This is a relative of :func: `setattr `. The arguments are an object and a
@@ -1141,6 +1155,14 @@ are always available. They are listed here in alphabetical order.
1141
1155
:data: `sys.maxsize `, such as :class: `range(2 ** 100) <range> `.
1142
1156
1143
1157
1158
+ .. function :: license()
1159
+
1160
+ Displays the full license text in a pager-like fashion (one page at a time;
1161
+ this function is intended for interactive use).
1162
+
1163
+ This function is added to the built-in namespace by the :mod: `site ` module.
1164
+
1165
+
1144
1166
.. _func-list :
1145
1167
.. class :: list(iterable=(), /)
1146
1168
:noindex:
You can’t perform that action at this time.
0 commit comments