-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[opy] -emit-docstring=0 will also remove the module docstring.
For some reason this workgs on demo/docstring.py, but not on core/args.py. I'm still looking into that bug. It might be a good use case for the ddmin algorithm, since I have a minimal test case that works and a real-world one that doesn't.
- Loading branch information
Andy Chu
committed
Oct 6, 2018
1 parent
6c6cf55
commit 4884bac
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#!/usr/bin/python | ||
""" | ||
docstring.py | ||
module DOCSTRING | ||
""" | ||
class Foo(object): | ||
"""class.""" | ||
"""class DOCSTRING""" | ||
def inc(self, x): | ||
"""inc by one""" | ||
"""func DOCSTRING""" | ||
return x + 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters