Package dns :: Module grange
[hide private]
[frames] | no frames]

Module grange

source code

DNS GENERATE range conversion.

Functions [hide private]
tuple
from_text(text)
Convert the text form of a range in a GENERATE statement to an integer.
source code
Variables [hide private]
  __package__ = 'dns'
Function Details [hide private]

from_text(text)

source code 

Convert the text form of a range in a GENERATE statement to an integer.

Parameters:
  • text (string) - the textual range
Returns: tuple
The start, stop and step values.