|
|
Subscribe / Log in / New account

Improving Python's SimpleNamespace

Improving Python's SimpleNamespace

Posted May 2, 2020 10:30 UTC (Sat) by dtlin (subscriber, #36537)
In reply to: Improving Python's SimpleNamespace by smurf
Parent article: Improving Python's SimpleNamespace

Yeah, that would be simple, but precedence doesn't work out entirely in our favor:

w/'hello world'[0]

would result in "h" instead of "hello".


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds