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

Commit29b1c1f

Browse files
committed
Display query in SearchIterator repr
1 parentc5a2146 commit29b1c1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎github3/structs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ def __init__(self, count, url, cls, session, params=None, etag=None,
107107
self.total_count=0
108108

109109
def__repr__(self):
110-
return'<SearchIterator [{0}, {1}]>'.format(self.count,self.path)
110+
return'<SearchIterator [{0}, {1}?{2}]>'.format(self.count,self.path,
111+
urlencode(self.params))
111112

112113
def_json(self,response,status_code):
113114
json=super(SearchIterator,self)._json(response,status_code)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp