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
dgl
Commits
a36d0841
Unverified
Commit
a36d0841
authored
Nov 11, 2018
by
Gan Quan
Committed by
GitHub
Nov 11, 2018
Browse files
removing 3.6 f-string (#139)
parent
66676a54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/function/base.py
python/dgl/function/base.py
+1
-1
No files found.
python/dgl/function/base.py
View file @
a36d0841
...
@@ -33,7 +33,7 @@ def create_bundled_function_class(name, cls):
...
@@ -33,7 +33,7 @@ def create_bundled_function_class(name, cls):
for
method_name
in
(
'__init__'
,
'__call__'
,
'is_spmv_supported'
,
'name'
):
for
method_name
in
(
'__init__'
,
'__call__'
,
'is_spmv_supported'
,
'name'
):
method
=
getattr
(
Bundled
,
method_name
)
method
=
getattr
(
Bundled
,
method_name
)
method
.
__qualname__
=
f
'
{
Bundled
.
__qualname__
}
.
{
method_name
}
'
method
.
__qualname__
=
'{
}.{}'
.
format
(
Bundled
.
__qualname__
,
method_name
)
for
method_name
in
(
'__call__'
,
'is_spmv_supported'
,
'name'
):
for
method_name
in
(
'__call__'
,
'is_spmv_supported'
,
'name'
):
method
=
getattr
(
Bundled
,
method_name
)
method
=
getattr
(
Bundled
,
method_name
)
...
...
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