[docs] [issue30903] IPv4Network's hostmask attribute doesn't returns string value as mentioned in Documentation.

Abhijit Mamarde report at bugs.python.org
Tue Jul 11 08:39:42 EDT 2017


New submission from Abhijit Mamarde:

documentation mentions hostmask attribute of IPv4Network
class returns a `string`, but in actual it is
returning the object of class IPv4Address

URL to official doc:
https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Network.hostmask

PFA program file to show the actual issue.

----------
assignee: docs at python
components: Documentation
files: ipaddress_doc_bug.py
messages: 298153
nosy: Abhijit Mamarde, docs at python
priority: normal
severity: normal
status: open
title: IPv4Network's hostmask attribute doesn't returns string value as mentioned in Documentation.
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file47007/ipaddress_doc_bug.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30903>
_______________________________________


More information about the docs mailing list