Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less globals, please #45

Open
aureliojargas opened this issue Jun 21, 2019 · 0 comments
Open

Less globals, please #45

aureliojargas opened this issue Jun 21, 2019 · 0 comments

Comments

@aureliojargas
Copy link
Owner

>>> import sedsed
>>> len(dir(sedsed))
84
>>> pprint.pprint(dir(sedsed))
['Config',
 'DEBUG',
 'SedAddress',
 'SedCommand',
 'ZZ',
 '__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__spec__',
 '__version__',
 'action',
 'action_modifiers',
 'addr1',
 'addr2',
 'args',
 'blanklines',
 'cmddict',
 'cmdfields',
 'cmdsep',
 'color',
 'color_NO',
 'color_RED',
 'color_REV',
 'color_YLW',
 'compose_sed_address',
 'compose_sed_command',
 'debug_prefix',
 'devdebug',
 'do_debug',
 'dump_cute',
 'dump_debug',
 'dump_key_value_pair',
 'dump_oneliner',
 'dump_script',
 'echo',
 'escape_text_commands_specials',
 'fatal_error',
 'format_debugcmds',
 'getopt',
 'has_t',
 'html_colors',
 'html_data',
 'incompleteaddr',
 'incompletecmd',
 'incompletecmdline',
 'indent_prefix',
 'is_open_bracket',
 'lastaddr',
 'lastsubref',
 'linenr',
 'linesep',
 'long_options',
 'myhome',
 'myname',
 'newlineshow',
 'nullcomm',
 'opt',
 'os',
 'paint_html',
 'patt',
 'print_usage',
 'quiet_flag',
 're',
 'read_file',
 'save_t',
 'script_file',
 'sedbin',
 'sedcmds',
 'sedscript',
 'short_options',
 'showcomm',
 'showhold',
 'showpatt',
 'stdin_id',
 'sys',
 'system_command',
 'tempfile',
 'textfiles',
 'validate_script_syntax',
 'write_file']
>>> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant