mirror of
https://github.com/vinta/awesome-python.git
synced 2025-02-25 01:18:37 +00:00
apply PEP
This commit is contained in:
parent
6cdb449271
commit
a96f889892
3
sort.py
3
sort.py
@ -1,3 +1,5 @@
|
|||||||
|
# coding: utf-8
|
||||||
|
|
||||||
"""
|
"""
|
||||||
The approach taken is explained below. I decided to do it simply.
|
The approach taken is explained below. I decided to do it simply.
|
||||||
Initially I was considering parsing the data into some sort of
|
Initially I was considering parsing the data into some sort of
|
||||||
@ -11,6 +13,7 @@
|
|||||||
and flattening the end structure into a list of lines. Revision 2 maybe ^.^.
|
and flattening the end structure into a list of lines. Revision 2 maybe ^.^.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# First, we load the current README into memory as an array of lines
|
# First, we load the current README into memory as an array of lines
|
||||||
with open('README.md', 'r') as read_me_file:
|
with open('README.md', 'r') as read_me_file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user