Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

isidentical-archive/pepallow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PEPAllow

pepalllow

See what happens if a pep was accepted.

Supporteds

  • PEP211 - Adding A New Outer Product Operator
  • PEP231 - __findattr__()
  • PEP276 - Simple Iterator for ints
  • PEP313 - Adding Roman Numeral Literals to Python
  • PEP336 - Make None Callable
  • PEP377 - Allow __enter__() methods to skip the statement body

Usage

from pepallow.allow import Allow

with Allow(313):
    assert IV == 4

with Allow(211):
    s = [1, 2, 3]
    t = "abc"
    for i, j in s @ t:
        pass
...