Skip to content

Commit d1d0aaa

Browse files
nagstakusparkprime
authored andcommitted
Update tutorial.html
I was confused by this for a minute until I realized it meant .foo and not some magic member. Please correct me if I'm wrong though 😄
1 parent 9ba22f7 commit d1d0aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/learning/tutorial.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ <h2 id="references">References</h2>
122122
<li><code>self</code> refers to the current object.</li>
123123
<li><code>$</code> refers to the outer-most object.</li>
124124
<li><code>['foo']</code> looks up a field.</li>
125-
<li><code>.f</code> can be used if the field name is an identifier.</li>
125+
<li><code>.foo</code> can be used if the field name is an identifier.</li>
126126
<li><code>[10]</code> looks up an array element.</li>
127127
<li>Arbitrarily long paths are allowed.</li>
128128
<li>Array slices like <code>arr[10:20:2]</code> are allowed, like in Python.</li>

0 commit comments

Comments
 (0)