Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commite4f58fe

Browse files
committed
changed use of vars(my_namedtuple) to my_namedtuple._as_dict() (seehttp://bugs.python.org/issue24931); added requirements.txt
1 parent599c141 commite4f58fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎18-asyncio/charfinder/http_charfinder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def home(request): # <1>
2929
print('Query: {!r}'.format(query))# <3>
3030
ifquery:# <4>
3131
descriptions=list(index.find_descriptions(query))
32-
res='\n'.join(ROW_TPL.format(**vars(descr))
32+
res='\n'.join(ROW_TPL.format(**descr._asdict())
3333
fordescrindescriptions)
3434
msg=index.status(query,len(descriptions))
3535
else:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
aiohttp==0.13.1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp