python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Sphinx remove dataclass fields from autodoc
As this post describes, autodoc will eagerly add the class variables to the documentation even if napoleon adds the fields as documentation in:
from dataclasses import dataclass
@dataclass
class Foo()...
OneRaynyDay
Votes: 0
Answers: 1
Adding Docstring easily in Google Colab
I'm used to write in Pycharm when if you type """ in the beginning of a function you'll get automatically generated docstring that you just need to complete, for example-
def foo(x, y):...
Shir
Votes: 0
Answers: 0
How to document returning tuples in python for Pycharm with docstring
I have seen this question asked all over the internet, but with no answers that seem to work.
def testing_return_documentation(one, two):
"""
tests documentation of arguments an...
jordanthompson
Votes: 0
Answers: 1
Mutually excluding arguments in Python
What's the best way to define a function that depends on mutually excluding arguments, i.e. set of arguments where I only need to specify one at a time. A simple example would be a function that takes...
user2224350
Votes: 0
Answers: 2