Skip to content

Commit

Permalink
Add Python samples for indent_size, indent_style
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavin001 committed Sep 23, 2018
1 parent d3e711f commit 978c236
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions samples/Python/indent_size.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
x = { 'a':37,'b':42,

'c':927}

y = 'hello ''world'
z = 'hello '+'world'
a = 'hello {}'.format('world')
class foo ( object ):
def f (self ):
return 37*-+2
def g(self, x,y=42):
return y
def f ( a ) :
return 37+-+a[42-x : y**3]
14 changes: 14 additions & 0 deletions samples/Python/indent_style.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
x = { 'a':37,'b':42,

'c':927}

y = 'hello ''world'
z = 'hello '+'world'
a = 'hello {}'.format('world')
class foo ( object ):
def f (self ):
return 37*-+2
def g(self, x,y=42):
return y
def f ( a ) :
return 37+-+a[42-x : y**3]

0 comments on commit 978c236

Please sign in to comment.