mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Mass patch by Ka-Ping Yee:
1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old).
This commit is contained in:
parent
113e70efa2
commit
4acc25bd39
18 changed files with 2513 additions and 2515 deletions
|
@ -1,15 +1,15 @@
|
|||
# General floating point formatting functions.
|
||||
"""General floating point formatting functions.
|
||||
|
||||
# Functions:
|
||||
# fix(x, digits_behind)
|
||||
# sci(x, digits_behind)
|
||||
Functions:
|
||||
fix(x, digits_behind)
|
||||
sci(x, digits_behind)
|
||||
|
||||
# Each takes a number or a string and a number of digits as arguments.
|
||||
|
||||
# Parameters:
|
||||
# x: number to be formatted; or a string resembling a number
|
||||
# digits_behind: number of digits behind the decimal point
|
||||
Each takes a number or a string and a number of digits as arguments.
|
||||
|
||||
Parameters:
|
||||
x: number to be formatted; or a string resembling a number
|
||||
digits_behind: number of digits behind the decimal point
|
||||
"""
|
||||
|
||||
import re
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue