Skip to content

Commit 6103823

Browse files
jimmodpgeorge
authored andcommitted
all: Remove __version__ from .py files.
It is inserted automatically during publish/freezing and having them in the code prevents the automatic process from happening. Signed-off-by: Jim Mussared <[email protected]>
1 parent ff84231 commit 6103823

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

python-stdlib/datetime/datetime.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
import time as _tmod
44

5-
__version__ = "2.0.0"
6-
75
_DBM = (0, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334)
86
_DIM = (0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)
97
_TIME_SPEC = ("auto", "hours", "minutes", "seconds", "milliseconds", "microseconds")

python-stdlib/json/json/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
$ echo '{ 1.2:3.4}' | python -m json.tool
100100
Expecting property name enclosed in double quotes: line 1 column 3 (char 2)
101101
"""
102-
__version__ = "2.0.9"
102+
103103
__all__ = [
104104
"dump",
105105
"dumps",

unix-ffi/cgi/cgi.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
# responsible for its maintenance.
2626
#
2727

28-
__version__ = "2.6"
29-
30-
3128
# Imports
3229
# =======
3330

0 commit comments

Comments
 (0)