Commit e3e4f6a
committed
Fix some sources of invalidations
- Base already defines a IndexStyle(::AbstractArray) method for object arguments
that uses the object type, so we can implement that directly and avoid the
invalidations from implement Base.IndexStyle(::PyObjectArray).
- The Dates stdlib already defines a method that does the same thing for any
`Period`.1 parent 625f786 commit e3e4f6a
File tree
3 files changed
+1
-5
lines changed- src
- JlWrap
- NumpyDates
3 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
0 commit comments