diff options
author | Damien George <damien.p.george@gmail.com> | 2017-08-09 21:25:48 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-09 21:25:48 +1000 |
commit | 3d25d9c7d96f9a54ad510391901af8f5bd82b306 (patch) | |
tree | 0f3ce56bee2fe8ffebc6ef7ca4fa0bebf1e0d610 /py/vstr.c | |
parent | eb2784e8a2dc17b0f551b68d2b41eece3e5348a7 (diff) | |
download | micropython-3d25d9c7d96f9a54ad510391901af8f5bd82b306.tar.gz micropython-3d25d9c7d96f9a54ad510391901af8f5bd82b306.zip |
py/objstr: Raise an exception for wrong type on RHS of str binary op.
The main case to catch is invalid types for the containment operator, of
the form str.__contains__(non-str).
Diffstat (limited to 'py/vstr.c')
0 files changed, 0 insertions, 0 deletions