Coder Social home page Coder Social logo

Comments (5)

mwhudson avatar mwhudson commented on June 21, 2024

(by mwhudson)
I think I generally agree, although there probably should be a limit of say three lines so that the summary doesn't get out of hand when people fail to follow the rules and start the docstring with a summary.

This shouldn't be hard, feel like writing a patch?

from pydoctor.

mwhudson avatar mwhudson commented on June 21, 2024

(by hyneks)
Sure. I'll look at it as soon as I get to my office.

from pydoctor.

mwhudson avatar mwhudson commented on June 21, 2024

(by hyneks)
I checked in a fix at http://bazaar.launchpad.net/~hyneks/pydoctor/summary-fix/revision/573 - let me know what you think.

I'm not sure what to make of pydoctor/html.py -- is that used somewhere?

(My first launchpad interaction, let me know if I'm doing something stupid.)

from pydoctor.

mwhudson avatar mwhudson commented on June 21, 2024

(by mwhudson)
html.py is mostly a relic of the formatter that existed before the nevow one (which should be redone to use twisted.web.template I guess) was written.

As to the branch, I wouldn't have used itertools so much but it works so I'll merge it :)

As to how to use launchpad, you seem to be doing fine! You could have used 'propose for merging' on your branch, but linking it from the bug report is good too.

from pydoctor.

mwhudson avatar mwhudson commented on June 21, 2024

(by hyneks)
Usually, I'm not much of an itertools snob neither, however this saved me two for loops and gave superior legibility so I just went for it. :)

I'm glad you like it, let me know if I can give you hand with something as long as I'm on a roll. ;)

from pydoctor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.