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

Skip to content

Commit f25092f

Browse files
committed
Tuple
1 parent c6c1d3c commit f25092f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Point(x=1, y=2)
162162
1
163163
>>> getattr(p, 'y')
164164
2
165-
>>> p._fields
165+
>>> Point._fields
166166
('x', 'y')
167167
```
168168

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
<span class="hljs-number">1</span>
328328
<span class="hljs-meta">&gt;&gt;&gt; </span>getattr(p, <span class="hljs-string">'y'</span>)
329329
<span class="hljs-number">2</span>
330-
<span class="hljs-meta">&gt;&gt;&gt; </span>p._fields
330+
<span class="hljs-meta">&gt;&gt;&gt; </span>Point._fields
331331
(<span class="hljs-string">'x'</span>, <span class="hljs-string">'y'</span>)
332332
</code></pre></div>
333333

0 commit comments

Comments
 (0)