aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/vs2017backend.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-10-07 13:50:58 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-11-01 12:24:25 -0700
commit83facb39593fbfa4d9cd68e86f5f56f86f1fe1eb (patch)
tree7dc03d39678c6834b9c98fc4de27709241690d8c /mesonbuild/backend/vs2017backend.py
parentba85c7175041dc95364afbf787995034092254b7 (diff)
downloadmeson-83facb39593fbfa4d9cd68e86f5f56f86f1fe1eb.zip
meson-83facb39593fbfa4d9cd68e86f5f56f86f1fe1eb.tar.gz
meson-83facb39593fbfa4d9cd68e86f5f56f86f1fe1eb.tar.bz2
modules/gnome: use textwrap.dedent
Python is a whitespace significant language, changing indent level implies that scope is changing. So when a string like ```python def foo(): a = ''' somthing ''' return a ``` It's visually misleading. Couple that with folding editors like vim getting utterly confused by this, and it turns into a real pain. Using textwrap.dedent allows us to get rid of that: ```python def foo(): a = texwrap.dedent( ''' something ''') return a ``` But we still get the same result
Diffstat (limited to 'mesonbuild/backend/vs2017backend.py')
0 files changed, 0 insertions, 0 deletions