PyDocs

Nav

Python Runtime Services

bytes.upper

builtins

method of bytes
  • bytes.upper()
B.upper() -> copy of B

Return a copy of B with all ASCII characters converted to uppercase.
1 Example
>>> b'Hello World'.upper()
b'HELLO WORLD'
from the Python docs
See Also
No see-alsos for builtins/bytes.upper
0 Notes
No notes for bytes.upper