Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-119180: Add evaluate functions for type params and type aliases#122212

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JelleZijlstra merged 4 commits intopython:mainfromJelleZijlstra:pep649-typevar2
Jul 27, 2024
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix compiler warnings
  • Loading branch information
@JelleZijlstra
JelleZijlstra committedJul 27, 2024
commit742400fc8d578d75c6aee9d436b589b93a5cff14
2 changes: 1 addition & 1 deletionInclude/internal/pycore_typevarobject.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ extern PyObject *_Py_subscript_generic(PyThreadState *, PyObject *);
extern PyObject *_Py_set_typeparam_default(PyThreadState *, PyObject *, PyObject *);
extern int _Py_initialize_generic(PyInterpreterState *);
extern void _Py_clear_generic_types(PyInterpreterState *);
extern int _Py_typing_type_repr(_PyUnicodeWriter *, PyObject *);
extern int _Py_typing_type_repr(PyUnicodeWriter *, PyObject *);

extern PyTypeObject _PyTypeAlias_Type;
extern PyTypeObject _PyNoDefault_Type;
Expand Down
2 changes: 1 addition & 1 deletionObjects/genericaliasobject.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -52,7 +52,7 @@ ga_traverse(PyObject *self, visitproc visit, void *arg)
}

static int
ga_repr_items_list(_PyUnicodeWriter *writer, PyObject *p)
ga_repr_items_list(PyUnicodeWriter *writer, PyObject *p)
{
assert(PyList_CheckExact(p));

Expand Down
2 changes: 1 addition & 1 deletionObjects/typevarobject.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -245,7 +245,7 @@ PyType_Spec constevaluator_spec = {
};

int
_Py_typing_type_repr(_PyUnicodeWriter *writer, PyObject *p)
_Py_typing_type_repr(PyUnicodeWriter *writer, PyObject *p)
{
PyObject *qualname = NULL;
PyObject *module = NULL;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp