Skip to content

Commit

Permalink
python3 de-linting (#14973)
Browse files Browse the repository at this point in the history
xrange give a very very slight memory optimization but is incompatible with python3
  • Loading branch information
refack authored and gsnedders committed Jan 22, 2019
1 parent 8564ea0 commit e4e6eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoding/resources/single-byte-raw.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
def main(request, response):
response.headers.set("Content-Type", "text/plain;charset=" + request.GET.first("label"))
response.content = "".join(chr(byte) for byte in xrange(255))
response.content = "".join(chr(byte) for byte in range(255))

0 comments on commit e4e6eee

Please sign in to comment.