This website requires JavaScript.
Explore
关于
Help
Register
Sign In
github
/
jumpserver
mirror of
https://github.com/jumpserver/jumpserver
Watch
1
Star
0
Fork
You've already forked jumpserver
0
Code
Issues
Releases
Wiki
Activity
dd630f0e14
jumpserver
/
apps
/
common
/
utils
/
integer.py
5 lines
103 B
Python
Raw
Blame
History
def
bit
(
x
)
:
if
x
<
1
:
raise
ValueError
(
"
x must be greater than 1
"
)
return
2
*
*
(
x
-
1
)
Reference in New Issue
View Git Blame
Copy Permalink