Staging
v0.5.1
https://github.com/python/cpython
Revision dfa11135ce53967ac97550d0a9343d32c9958ac0 authored by Miss Islington (bot) on 26 September 2018, 15:23:23 UTC, committed by GitHub on 26 September 2018, 15:23:23 UTC

Currently, the docs state that when doing `Type[X]`, X is only allowed to
be a class, a union of classes, and Any. This pull request amends
that sentence to clarify X may also be a typevar (or a union involving
classes, Any, and TypeVars).
(cherry picked from commit 130717fe58abb2ab9e7938207df0c130a2562747)

Co-authored-by: Michael Lee <michael.lee.0x2a@gmail.com>
1 parent 3707bcf
Raw File
Tip revision: dfa11135ce53967ac97550d0a9343d32c9958ac0 authored by Miss Islington (bot) on 26 September 2018, 15:23:23 UTC
Clarify that Type[SomeTypeVar] is legal (GH-9585)
Tip revision: dfa1113
winsound.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <Filter Include="Source Files">
      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
    </Filter>
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="..\PC\winsound.c">
      <Filter>Source Files</Filter>
    </ClCompile>
  </ItemGroup>
</Project>
back to top