Skip to content

Commit ae0a5da

Browse files
committed
Update docs to match bazel upstream
Change-Id: I5aaaa94f4aaae3ff570d01e04b56db4b437caad7
1 parent 9b8737f commit ae0a5da

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/reference.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5251,15 +5251,15 @@ Creates a list where items go from <code>start</code> to <code>stop</code>, usin
52515251
range(3, 9, 2) == [3, 5, 7]
52525252
range(3, 0, -1) == [3, 2, 1]</pre>
52535253

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>
52555255

52565256

52575257
<h4 id="parameters.range">Parameters:</h4>
52585258

52595259
Parameter | Description
52605260
--------- | -----------
52615261
<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>
52635263
<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>
52645264

52655265
<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
81188118
Parameter | Description
81198119
--------- | -----------
81208120
<span id=string.join.self href=#string.join.self>self</span> | <code><a href="#string">string</a></code><br><p></p>
8121-
<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>
81228122

81238123
<a id="string.lower" aria-hidden="true"></a>
81248124
### string.lower
@@ -8265,7 +8265,7 @@ Parameter | Description
82658265

82668266
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().
82678267

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>
82698269

82708270

82718271
<h4 id="parameters.string.rsplit">Parameters:</h4>
@@ -8274,7 +8274,7 @@ Parameter | Description
82748274
--------- | -----------
82758275
<span id=string.rsplit.self href=#string.rsplit.self>self</span> | <code><a href="#string">string</a></code><br><p>This string.</p>
82768276
<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>
82788278

82798279
<a id="string.rstrip" aria-hidden="true"></a>
82808280
### string.rstrip
@@ -8296,7 +8296,7 @@ Parameter | Description
82968296

82978297
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>.
82988298

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>
83008300

83018301

83028302
<h4 id="parameters.string.split">Parameters:</h4>
@@ -8305,7 +8305,7 @@ Parameter | Description
83058305
--------- | -----------
83068306
<span id=string.split.self href=#string.split.self>self</span> | <code><a href="#string">string</a></code><br><p>This string.</p>
83078307
<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>
83098309

83108310
<a id="string.splitlines" aria-hidden="true"></a>
83118311
### string.splitlines

0 commit comments

Comments
 (0)