You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5251,15 +5251,15 @@ Creates a list where items go from <code>start</code> to <code>stop</code>, usin
5251
5251
range(3, 9, 2) == [3, 5, 7]
5252
5252
range(3, 0, -1) == [3, 2, 1]</pre>
5253
5253
5254
-
<code>list of int</code> <code>range(<a href=#range.start_or_stop>start_or_stop</a>, <a href=#range.stop_or_none>stop_or_none</a>=None, <a href=#range.step>step</a>=1)</code>
5254
+
<code>list of int</code> <code>range(<a href=#range.start_or_stop>start_or_stop</a>, <a href=#range.stop>stop</a>=unbound, <a href=#range.step>step</a>=1)</code>
5255
5255
5256
5256
5257
5257
<h4 id="parameters.range">Parameters:</h4>
5258
5258
5259
5259
Parameter | Description
5260
5260
--------- | -----------
5261
5261
<span id=range.start_or_stop href=#range.start_or_stop>start_or_stop</span> | <code><a href="#int">int</a></code><br><p>Value of the start element if stop is provided, otherwise value of stop and the actual start is 0</p>
5262
-
<span id=range.stop_or_none href=#range.stop_or_none>stop_or_none</span> | <code><a href="#int">int</a></code> or <code>NoneType</code><br><p>optional index of the first item <i>not</i> to be included in the resulting list; generation of the list stops before <code>stop</code> is reached.</p>
5262
+
<span id=range.stop href=#range.stop>stop</span> | <code><a href="#int">int</a></code><br><p>optional index of the first item <i>not</i> to be included in the resulting list; generation of the list stops before <code>stop</code> is reached.</p>
5263
5263
<span id=range.step href=#range.step>step</span> | <code><a href="#int">int</a></code><br><p>The increment (default is 1). It may be negative.</p>
5264
5264
5265
5265
<a id="repr" aria-hidden="true"></a>
@@ -8118,7 +8118,7 @@ Returns a string in which the string elements of the argument have been joined b
<span id=string.join.elements href=#string.join.elements>elements</span> | <code>unknown</code><br><p>The objects to join.</p>
8121
+
<span id=string.join.elements href=#string.join.elements>elements</span> | <code>iterable of string</code><br><p>The objects to join.</p>
8122
8122
8123
8123
<a id="string.lower" aria-hidden="true"></a>
8124
8124
### string.lower
@@ -8265,7 +8265,7 @@ Parameter | Description
8265
8265
8266
8266
Returns a list of all the words in the string, using <code>sep</code> as the separator, optionally limiting the number of splits to <code>maxsplit</code>. Except for splitting from the right, this method behaves like split().
8267
8267
8268
-
<code>list of string</code> <code>string.rsplit(<a href=#string.rsplit.self>self</a>, <a href=#string.rsplit.sep>sep</a>, <a href=#string.rsplit.maxsplit>maxsplit</a>=None)</code>
8268
+
<code>list of string</code> <code>string.rsplit(<a href=#string.rsplit.self>self</a>, <a href=#string.rsplit.sep>sep</a>, <a href=#string.rsplit.maxsplit>maxsplit</a>=unbound)</code>
<span id=string.rsplit.sep href=#string.rsplit.sep>sep</span> | <code><a href="#string">string</a></code><br><p>The string to split on.</p>
8277
-
<span id=string.rsplit.maxsplit href=#string.rsplit.maxsplit>maxsplit</span> | <code><a href="#int">int</a></code> or <code>NoneType</code><br><p>The maximum number of splits.</p>
8277
+
<span id=string.rsplit.maxsplit href=#string.rsplit.maxsplit>maxsplit</span> | <code><a href="#int">int</a></code><br><p>The maximum number of splits.</p>
8278
8278
8279
8279
<a id="string.rstrip" aria-hidden="true"></a>
8280
8280
### string.rstrip
@@ -8296,7 +8296,7 @@ Parameter | Description
8296
8296
8297
8297
Returns a list of all the words in the string, using <code>sep</code> as the separator, optionally limiting the number of splits to <code>maxsplit</code>.
8298
8298
8299
-
<code>list of string</code> <code>string.split(<a href=#string.split.self>self</a>, <a href=#string.split.sep>sep</a>, <a href=#string.split.maxsplit>maxsplit</a>=None)</code>
8299
+
<code>list of string</code> <code>string.split(<a href=#string.split.self>self</a>, <a href=#string.split.sep>sep</a>, <a href=#string.split.maxsplit>maxsplit</a>=unbound)</code>
<span id=string.split.sep href=#string.split.sep>sep</span> | <code><a href="#string">string</a></code><br><p>The string to split on.</p>
8308
-
<span id=string.split.maxsplit href=#string.split.maxsplit>maxsplit</span> | <code><a href="#int">int</a></code> or <code>NoneType</code><br><p>The maximum number of splits.</p>
8308
+
<span id=string.split.maxsplit href=#string.split.maxsplit>maxsplit</span> | <code><a href="#int">int</a></code><br><p>The maximum number of splits.</p>
0 commit comments