Skip to content

Add parameters to method definitions #33

Open

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create test.py
class Test(object):
        def __init__(self):
                pass

        def big_universe(self, why_not, agree=False):
                if agree:
                        print "Agreed!"

def testing(hello_str):
        print 'This works', hello_str*3

if __name__ == '__main__':
        Test().big_universe('hello world', agree=True)
        testing('!')

2. Run pynsource -> File -> Import python code -> test.py


What is the expected output? What do you see instead?
Expected 1: "big_universe(self, why_not, agree=False)" in class Test with 
method parameters and default values
Shown 1: "big_universe" in class Test without method parameters
Expected 2: A plain white color
Shown 2: A mild blueish background color

What version of the product are you using? On what operating system?
1.61-src.zip / Ubuntu
1.61-macosx / Lion

Please provide any additional information below.
PyNSource is great! It would be relatively easy to go over a small project 
using class diagrams that contain method parameters and its defaults if any. 
Ability to toggle this and the background color would be great. 

Original issue reported on code.google.com by cyclo...@gmail.com on 13 Dec 2012 at 6:55

Activity

  1. abulka commented on Jan 15, 2019

    @abulka
    Owner

    Adding parameters to method definitions - I will consider this.

  2. changed the title [-]View method parameters and change background color[/-] [+]Add parameters to method definitions[/+] on Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions