Skip to content

Commit 272ff1a

Browse files
Merge pull request #310 from RDxR10/master
Add support for older python3 versions (parser)
2 parents c316661 + 37172db commit 272ff1a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

whois/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# This module is part of python-whois and is released under
77
# the MIT license: http://www.opensource.org/licenses/mit-license.php
8-
8+
from __future__ import annotations
99
import json
1010
import re
1111
from datetime import datetime, timezone, timedelta

whois/whois.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2727
THE SOFTWARE.
2828
"""
29-
29+
from __future__ import annotations
3030
import logging
3131
import optparse
3232
import os

0 commit comments

Comments
 (0)