Skip to content

Commit

Permalink
Fraction: Update Python __repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Nov 21, 2020
1 parent aab6d1c commit 1c8a673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/openshot.i
Expand Up @@ -148,7 +148,7 @@
}
std::string __repr__() {
std::ostringstream result;
result << $self->num << ":" << $self->den;
result << "Fraction(" << $self->num << ", " << $self->den << ")";
return result.str();
}
}
Expand Down

0 comments on commit 1c8a673

Please sign in to comment.