MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / version

Method version

vrtManager/IPy.py:215–223  ·  view source on GitHub ↗

Return the IP version of this Object. >>> IP('10.0.0.0/8').version() 4 >>> IP('::1').version() 6

(self)

Source from the content-addressed store, hash-verified

213 return self.ip
214
215 def version(self):
216 """Return the IP version of this Object.
217
218 >>> IP('10.0.0.0/8').version()
219 4
220 >>> IP('::1').version()
221 6
222 """
223 return self._ipversion
224
225 def prefixlen(self):
226 """Returns Network Prefixlen.

Callers 1

__add__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected