I'd like to use "semantic indentation"

Paul Rubin no.email at nospam.invalid
Sat Sep 30 14:39:07 EDT 2017


ram at zedat.fu-berlin.de (Stefan Ram) writes:
>   I would like to write source code similar to:
> country( 'USA' )
>   state( 'Alabama' ) ...

> It seems I can't do this with Python.  Is there any workaround?

  _= country( 'USA' )
  _=   state( 'Alabama' )
  _=     town( 'Abbeville' )
  _=     town( 'Addison' )
  _=   state( 'Arizona' )
  _=     town( 'Apache Junction' )
  _=     town( 'Avondale )
  _=     town( 'Benson' )



More information about the Python-list mailing list