diff options
author | murphy <murphy@rubychan.de> | 2010-04-14 23:59:03 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-04-14 23:59:03 +0000 |
commit | 200144dd009d33ff8334be24d0fb2cc91b3a87ab (patch) | |
tree | f46c939cd01b8d4165b5d9f3444c20e072b51408 /test/scanners/python/import.in.py | |
parent | 612a14e17bdae5dbb5b13cdceec797523725cbbe (diff) | |
download | coderay-200144dd009d33ff8334be24d0fb2cc91b3a87ab.tar.gz |
Moving scanner tests into separate repository. The repository can be reached at http://svn.rubychan.de/coderay-scanner-tests/trunk.
Diffstat (limited to 'test/scanners/python/import.in.py')
-rw-r--r-- | test/scanners/python/import.in.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/scanners/python/import.in.py b/test/scanners/python/import.in.py deleted file mode 100644 index 95dce3d..0000000 --- a/test/scanners/python/import.in.py +++ /dev/null @@ -1,26 +0,0 @@ -import YourModule # Import the module into my package - # (does not import any of its symbols) - -import YourModule as Module # Use a different name for the module - -from YourModule import * # Import all module symbols not starting - # with an underscore (default); if __all__ - # is defined, only imports those symbols. - # Using this is discouraged unless the - # module is specifically designed for it. - -from YourModule import name1, name2, xxx - # Import the named symbols from the module - -from YourModule import name1 as name2 - # Import the named object, but use a - # different name to access it locally. - -#----------------------------- -__all__ = ["F1", "F2", "List"] -#----------------------------- -__all__ = ["Op_Func", "Table"] -#----------------------------- -from YourModule import Op_Func, Table, F1 -#----------------------------- -from YourModule import Functions, Table
\ No newline at end of file |