Skip to content

Conversation

kimnanhee
Copy link
Contributor

@kimnanhee kimnanhee commented Jul 16, 2022

b = b'python'
b['a']

TypeError: bytes indices must be integers or slices or classes that override index operator, not 'str'
=> TypeError: byte indices must be integers or slices or classes that override index operator, not 'str'

@youknowone youknowone added the z-ca-2022 Tag to track contrubution-academy 2022 label Jul 16, 2022
Copy link
Member

@youknowone youknowone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thank you!

@youknowone youknowone merged commit 2e77581 into RustPython:main Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
z-ca-2022 Tag to track contrubution-academy 2022
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants