Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
a97b5794
Commit
a97b5794
authored
Jul 08, 2013
by
Davis King
Browse files
Another minor change for python 2.6 compatibility.
parent
a6c9767e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/docs/python/generate_dlib_listing.py
docs/docs/python/generate_dlib_listing.py
+2
-2
No files found.
docs/docs/python/generate_dlib_listing.py
View file @
a97b5794
...
@@ -13,7 +13,7 @@ def make_listing_files():
...
@@ -13,7 +13,7 @@ def make_listing_files():
name
=
'dlib.'
+
obj
name
=
'dlib.'
+
obj
isclass
=
inspect
.
isclass
(
eval
(
name
))
isclass
=
inspect
.
isclass
(
eval
(
name
))
if
(
isclass
):
if
(
isclass
):
print
(
"* :class:`{}`"
.
format
(
name
),
file
=
fc
)
print
(
"* :class:`{
0
}`"
.
format
(
name
),
file
=
fc
)
else
:
else
:
print
(
"* :func:`{}`"
.
format
(
name
),
file
=
ff
)
print
(
"* :func:`{
0
}`"
.
format
(
name
),
file
=
ff
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment