Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

All Python types are reference types. The reference to None isn't included in the str type.

There's no way to get an actual null reference, afaik. Variables always have some value, possibly None.

(not sure what happens if you set a reference to null from C - a crash, probably?)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: