From 502640c16539397af8af978a2f9f861aa135d283 Mon Sep 17 00:00:00 2001 From: Otthorn Date: Wed, 14 Apr 2021 19:21:40 +0200 Subject: [PATCH] :memo: Update documentation --- lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib.py b/lib.py index b6107f9..091006a 100644 --- a/lib.py +++ b/lib.py @@ -68,7 +68,8 @@ def get_serial(dns_zone): """ Query the serial number from the NS - dns_zone can either be a str or a dns.zone.Zone obj + The parameter `dns_zone` can either be a `str` or a `dns.zone.Zone` object. + Error handling is added to return 0 if the query is unsucessful. """ try: