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@python
components: Documentation
files: ipaddress_doc_bug.py
messages: 298153
nosy: Abhijit Mamarde, docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue30903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to