FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
Remove basestring reference, no py2 support · gitpython-developers/GitPython@2ceedc9 · GitHub
gitpython-developers
GitPython
Repository navigation
Code
Issues
6
(6)
Pull requests
8
(8)
Discussions
Actions
Security and quality
42
(42)
Insights
Commit
2ceedc9
Browse files
Browse the repository at this point in the history
Browse files
Byron
committed
Remove basestring reference, no py2 support
1 parent
b22f159
commit
2ceedc9
Copy full SHA for 2ceedc9
1 file changed
+1
-5
Lines changed: 1 addition & 5 deletions
File tree
Expand file tree
Collapse file tree
Open diff view settings
Filter options
smmap
util.py
Expand file tree
Collapse file tree
Open diff view settings
Collapse file
smmap/util.py
Copy file name to clipboard
Expand all lines: smmap/util.py
+1
-5
Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -23,11 +23,7 @@ def buffer(obj, offset, size):
23
23
24
24
25
25
def
string_types
():
26
-
if
sys
.
version_info
[
0
]
>=
3
:
27
-
return
str
28
-
else
:
29
-
return
basestring
30
-
26
+
return
str
31
27
32
28
def
align_to_mmap
(
num
,
round_up
):
33
29
"""
0 commit comments
Comments
0
(0)
Back
|
FazBrowse Home
|
New Git URL
0 commit comments