Skip to content

Commit

Permalink
Modified the example for at() method to have the correct imported pac…
Browse files Browse the repository at this point in the history
…kage
  • Loading branch information
bharadwajyarlagadda committed Nov 6, 2016
1 parent b2025e0 commit 844ea98
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions docs/example.rst
Expand Up @@ -215,19 +215,18 @@ Strings
>>> import sugar as _
>>> at('example')
>>> _.at('example')
'e'
>>> at('example', 4)
>>> _.at('example', 4)
'p'
>>> at('example', 8, True)
>>> _.at('example', 8, True)
'x'
>>> at('example', [4, 8], True)
>>> _.at('example', [4, 8], True)
['p', 'x']
>>> at('example', -4)
>>> _.at('example', -4)
'm'
>>> at('example', [4, -4])
>>> _.at('example', [4, -4])
['p', 'm']
>>> at('example', [4, -10], True)
>>> _.at('example', [4, -10], True)
['p', 'p']

0 comments on commit 844ea98

Please sign in to comment.