Skip to content

Commit

Permalink
naive bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ppwwyyxx committed Apr 25, 2016
1 parent 95ec24d commit b549505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def get_rst(app, what, name, obj, options, signature,
return_annotation):
if signature:
signature = re.sub('<Mock name=\'([^\']+)\'.*>', '\g<1>', signature)
signature = re.sub('tensorflow', 'tf')
signature = re.sub('tensorflow', 'tf', signature)
return signature, return_annotation

def setup(app):
Expand Down

0 comments on commit b549505

Please sign in to comment.