__bytes__()
Equivalent to as_bytes()
. Allows bytes(msg)
to produce a bytes object containing the formatted message.
New in version 3.4.
__bytes__()
Equivalent to as_bytes()
. Allows bytes(msg)
to produce a bytes object containing the formatted message.
New in version 3.4.
Designed by : w10schools
service@w10schools.com
Please login to continue.