This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0904997
commit 3d52961
Showing
1 changed file
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import math, sys; | ||
import math, sys | ||
|
||
|
||
def example1(): | ||
####This is a long comment. This should be wrapped to fit within 72 characters. | ||
some_tuple=( 1,2, 3,'a' ); | ||
some_variable={'long':'Long code lines should be wrapped within 79 characters.', | ||
'other':[math.pi, 100,200,300,9876543210,'This is a long string that goes on'], | ||
'more':{'inner':'This whole logical line should be wrapped.',some_tuple:[1, | ||
20,300,40000,500000000,60000000000000000]}} | ||
some_tuple = (1, 2, 3, 'a') | ||
some_variable = { | ||
'long': | ||
'Long code lines should be wrapped within 79 characters.', | ||
'other': [ | ||
math.pi, 100, 200, 300, 9876543210, | ||
'This is a long string that goes on' | ||
], | ||
'more': { | ||
'inner': 'This whole logical line should be wrapped.', | ||
some_tuple: [1, 20, 300, 40000, 500000000, 60000000000000000] | ||
} | ||
} | ||
return (some_tuple, some_variable) |