이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
isprogram
/
autojump
의 미러
https://github.com/wting/autojump.git
보기
1
좋아요
0
포크
0
코드
이슈
0
Projects
0
릴리즈
53
위키
활동
소스 검색
Add xrange() and fix second() for Python3.
pull/307/head
William Ting
10 년 전
부모
921b52e9d5
커밋
62c0877479
2개의 변경된 파일
과
7개의 추가작업
그리고
2개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-2
bin/autojump_utils.py
+1
-0
tests/autojump_utils_test.py
+ 6
- 2
bin/autojump_utils.py
파일 보기
@ -172,8 +172,12 @@ def sanitize(directories):
def
second
(
xs
)
:
it
=
iter
(
xs
)
try
:
it
.
next
(
)
return
it
.
next
(
)
if
is_python2
(
)
:
it
.
next
(
)
return
it
.
next
(
)
elif
is_python3
(
)
:
next
(
it
)
return
next
(
it
)
except
StopIteration
:
return
None
+ 1
- 0
tests/autojump_utils_test.py
파일 보기
@ -24,6 +24,7 @@ from autojump_utils import unico
if
is_python3
(
)
:
os
.
getcwdu
=
os
.
getcwd
xrange
=
range
def
u
(
string
)
:
쓰기
미리보기
불러오는 중...
취소
저장