Skip to content

Commit

Permalink
spec: update stale example that relied on iterable strings
Browse files Browse the repository at this point in the history
  • Loading branch information
adonovan authored Mar 17, 2018
1 parent a1b28d8 commit 0483f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -3659,7 +3659,7 @@ are strings.

```python
", ".join(["one", "two", "three"]) # "one, two, three"
"a".join("ctmrn") # "catamaran"
"a".join("ctmrn".split_elems()) # "catamaran"
```

<a id='string·lower'></a>
Expand Down

0 comments on commit 0483f81

Please sign in to comment.