Hi, My name is Jonatan and i am programming in Python for about 4 years,
I have a great idea, there are iX` methods, such as __ior__, __iadd__,
__iand__ etc.., which implements the |=, +=, &= behavior,
it would be nice if you could implement also __igetattr__ or something,
which means:

instead of
con = "some text here"
con  = con.replace("here", "there")

we could do

con = "some text here"
con  .= replace("here", "there")


Please let me know what do you think about it, Jonatan
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/QAU3URTLBVZDQA7TWECUXCG6FENRR7VZ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to