Metadata-Version: 1.1
Name: end
Version: 1.0.0
Summary: Introduces "end" keyword to Python.
Home-page: https://github.com/nya3jp/end/
Author: Shuhei Takahashi
Author-email: takahashi.shuhei@gmail.com
License: UNKNOWN
Description: end
        ===
        
        This module magically introduces `end` keyword to your Python code which marks
        the end of a block statement.
        
        
        Usage
        -----
        
        Import "end" module and mark end of blocks with `end`. If you forget to mark them,
        `SyntaxError` is raised on import time (not on execution time).
        
        ```python
        import end
        
        def func():
            for i in range(3):
                print(i)
            end
        end
        
        with open('a.txt') as f:
            print(f.read())
        end
        
        try:
            time.sleep(10000)
        except KeyboardInterrupt:
            print('Interrupted')
        finally:
            print('Bye!')
        end
        
        if 28 > 3:
            print('nya-n')
        # end is missing here, SyntaxError is raised!
        ```
        
        
        Disclaimer
        ----------
        
        This is a joke module -- never use it.
        
        
        Known Issues
        ------------
        
        This will work for most cases, but there are some edge cases.
        
        - Only CPython 2.7 is supported.
        - Single-line compound statement is not supported.
        - It will malfunction if `__import__` is hooked by someone else.
        - Source code must be available to the interpreter.
        
        Again, do not use this in a serious business anyway.
        
        
        Author
        ------
        
        Shuhei Takahashi
        
        - Website: https://nya3.jp/
        - Twitter: https://twitter.com/nya3jp/
        
        
        License
        -------
        
        Apache 2.0
Platform: UNKNOWN
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
