why output of yaml.safe_load('1:1') returns a number not an error?

12 Views Asked by At

I missed a space after :, but found an interesting result. I couldn't get why the output is 6241.

>>> import yaml
>>> 
>>> yaml.safe_load('104:1')
6241
0

There are 0 best solutions below