☰
Debian Codegraph
@
4.3.1-3
4.3.1-2
4.3.1-1
4.1.1-2
/
/
tests
/
testdata
/
python3
/
data
/
descriptor_crash.py
☽
☼
tests/testdata/python3/data/descriptor_crash.py
code
plain
raw
LGPL-2.1+
2003-2023 Logilab <
[email protected]
>
debian/copyright
1
2
import urllib
3
4
class Page(object):
5
_urlOpen = staticmethod(urllib.urlopen)
6
7
def getPage(self, url):
8
handle = self._urlOpen(url)
9
data = handle.read()
10
handle.close()
11
return data