FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Type stub file is mistaken about GIT_OBJ_COMMIT · Issue #1333 · libgit2/pygit2 · GitHub

Repository navigation

Type stub file is mistaken about GIT_OBJ_COMMIT #1333

Description

GIT_OBJ_COMMIT: Literal[1]

from ._pygit2 import *

In [1]: import pygit2

In [2]: pygit2.GIT_OBJ_COMMIT
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[2], line 1
----> 1 pygit2.GIT_OBJ_COMMIT

AttributeError: module 'pygit2' has no attribute 'GIT_OBJ_COMMIT'

In [3]: pygit2.GIT_OBJECT_COMMIT
Out[3]: 1

In [4]: pygit2.__version__
Out[4]: '1.16.0'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL