From 487206905a918716d24c33abe5a9e7f770a62d5d Mon Sep 17 00:00:00 2001 From: grubert Date: Mon, 10 Aug 2020 10:54:37 +0000 Subject: [PATCH] Formatting git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8537 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/docutils/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docutils/docutils/__init__.py b/docutils/docutils/__init__.py index dbf67b24b..e3f64801a 100644 --- a/docutils/docutils/__init__.py +++ b/docutils/docutils/__init__.py @@ -85,7 +85,7 @@ class VersionInfo(namedtuple('VersionInfo', 'version ordering of the related __version__') if serial != 0: raise ValueError('"serial" must be 0 for final releases') - + return super(VersionInfo, cls).__new__(cls, major, minor, micro, releaselevel, serial, release) @@ -103,7 +103,7 @@ class VersionInfo(namedtuple('VersionInfo', if isinstance(other, tuple): other = VersionInfo(*other) return tuple.__le__(self, other) - + def __ge__(self, other): if isinstance(other, tuple): other = VersionInfo(*other) -- 2.11.4.GIT