Skip to content
Features
Business
Explore
Marketplace
Pricing
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
Sign in
or
Sign up
Watch
36
Star
802
Fork
35
oilshell
/
oil
Code
Issues
53
Pull requests
0
Projects
0
Wiki
Insights
Permalink
Browse files
Change to bitwise style
Loading branch information
...
Andy Chu
committed
Jun 5, 2018
1 parent
058352c
commit
d94e0c5fb740642e74cca16c9240f2de3539d097
Unified
Split
Showing
1 changed file
with
2 additions
and
1 deletion
.
+2
−1
core/word_compile.py
Show comments
View
3
core/word_compile.py
@@ -58,7 +58,8 @@ def Utf8Encode(code):
bytes_.reverse()
return
"
"
.join(
chr
(b
%
256
)
for
b
in
bytes_)
#
mod 256 because Python ints don't wrap around!
return
"
"
.join(
chr
(b
&
0x
FF
)
for
b
in
bytes_)
#
TODO
: Strict mode syntax errors:
Toggle all file notes
0 comments on commit
d94e0c5
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
Press h to open a hovercard with more details.
0 comments on commit
d94e0c5