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

str.format() can be cursed too, e.g.:

  >>> '{:{}{}}'.format('m', 'o<2', 3)
  'moooooooooooooooooooooo'


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

Search: